Spaces:
Running
Running
BoltzmannEntropy
commited on
Commit
·
fc2fb4b
1
Parent(s):
dc2f2ec
reaeme
Browse files
app.py
CHANGED
|
@@ -309,8 +309,9 @@ def create_gradio_interface():
|
|
| 309 |
- Compatible with png, jpg, jpeg, and webp formats
|
| 310 |
- Compatibility with various AI models: Qwen2-VL-7B-Instruct, Qwen2-VL-2B-Instruct-GPTQ-Int4, InternVL2-1B, Qwen2-VL-72B, /Phi-3-vision-128k-instruct and moondream2""")
|
| 311 |
|
| 312 |
-
|
| 313 |
-
|
|
|
|
| 314 |
with gr.Tab("VLM model and Dataset selection"):
|
| 315 |
gr.Markdown("### Dataset Selection: HF or from a ZIP file.")
|
| 316 |
with gr.Accordion("Advanced Settings", open=True):
|
|
|
|
| 309 |
- Compatible with png, jpg, jpeg, and webp formats
|
| 310 |
- Compatibility with various AI models: Qwen2-VL-7B-Instruct, Qwen2-VL-2B-Instruct-GPTQ-Int4, InternVL2-1B, Qwen2-VL-72B, /Phi-3-vision-128k-instruct and moondream2""")
|
| 311 |
|
| 312 |
+
image_path = os.path.abspath("static/image.jpg")
|
| 313 |
+
gr.Image(value=image_path, label="HF Image", width=300, height=300)
|
| 314 |
+
|
| 315 |
with gr.Tab("VLM model and Dataset selection"):
|
| 316 |
gr.Markdown("### Dataset Selection: HF or from a ZIP file.")
|
| 317 |
with gr.Accordion("Advanced Settings", open=True):
|