Spaces:
Running
Running
gradio
#12
by echarlaix HF Staff - opened
- README.md +1 -1
- app.py +1 -2
- requirements.txt +1 -1
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🚀
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
hf_oauth: true
|
| 10 |
hf_oauth_scopes:
|
|
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.10
|
| 8 |
app_file: app.py
|
| 9 |
hf_oauth: true
|
| 10 |
hf_oauth_scopes:
|
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from tempfile import TemporaryDirectory
|
|
| 11 |
|
| 12 |
from huggingface_hub.file_download import repo_folder_name
|
| 13 |
from optimum.intel.utils.constant import _TASK_ALIASES
|
| 14 |
-
from optimum.exporters import TasksManager
|
| 15 |
|
| 16 |
from optimum.intel.utils.modeling_utils import _find_files_matching_pattern
|
| 17 |
from optimum.intel import (
|
|
@@ -29,7 +29,6 @@ from optimum.intel import (
|
|
| 29 |
OVWeightQuantizationConfig,
|
| 30 |
OVDiffusionPipeline,
|
| 31 |
)
|
| 32 |
-
from diffusers import ConfigMixin
|
| 33 |
|
| 34 |
_HEAD_TO_AUTOMODELS = {
|
| 35 |
"feature-extraction": "OVModelForFeatureExtraction",
|
|
|
|
| 11 |
|
| 12 |
from huggingface_hub.file_download import repo_folder_name
|
| 13 |
from optimum.intel.utils.constant import _TASK_ALIASES
|
| 14 |
+
from optimum.exporters.tasks import TasksManager
|
| 15 |
|
| 16 |
from optimum.intel.utils.modeling_utils import _find_files_matching_pattern
|
| 17 |
from optimum.intel import (
|
|
|
|
| 29 |
OVWeightQuantizationConfig,
|
| 30 |
OVDiffusionPipeline,
|
| 31 |
)
|
|
|
|
| 32 |
|
| 33 |
_HEAD_TO_AUTOMODELS = {
|
| 34 |
"feature-extraction": "OVModelForFeatureExtraction",
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
optimum-intel[openvino,diffusers]==1.27
|
| 2 |
-
gradio==6.10
|
| 3 |
gradio_huggingfacehub_search==0.0.6
|
|
|
|
| 1 |
optimum-intel[openvino,diffusers]==1.27
|
| 2 |
+
gradio[oauth]==6.10
|
| 3 |
gradio_huggingfacehub_search==0.0.6
|