Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE
|
| 3 |
|
| 4 |
-
# Dynamically get tasks (approximation, as original script uses TasksManager)
|
| 5 |
AVAILABLE_TASKS = [
|
| 6 |
'image-to-image', 'image-segmentation', 'image-text-to-text', 'inpainting',
|
| 7 |
'sentence-similarity', 'text-to-audio', 'image-to-text',
|
|
@@ -411,7 +410,7 @@ class ConversionTool:
|
|
| 411 |
outputs=self.command_output,
|
| 412 |
title="OpenVINO IR Model Conversion Tool",
|
| 413 |
description="""
|
| 414 |
-
Enter model information to generate an `optimum-cli export
|
| 415 |
Use the arguments below to configure the export process based on the OpenVINO exporter documentation.
|
| 416 |
Then run the generated command in the terminal where your OpenArc environment is activated.
|
| 417 |
""",
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE
|
| 3 |
|
|
|
|
| 4 |
AVAILABLE_TASKS = [
|
| 5 |
'image-to-image', 'image-segmentation', 'image-text-to-text', 'inpainting',
|
| 6 |
'sentence-similarity', 'text-to-audio', 'image-to-text',
|
|
|
|
| 410 |
outputs=self.command_output,
|
| 411 |
title="OpenVINO IR Model Conversion Tool",
|
| 412 |
description="""
|
| 413 |
+
Enter model information to generate an `optimum-cli export` command.
|
| 414 |
Use the arguments below to configure the export process based on the OpenVINO exporter documentation.
|
| 415 |
Then run the generated command in the terminal where your OpenArc environment is activated.
|
| 416 |
""",
|