Commit
·
d839dfe
1
Parent(s):
629f682
remove more widgets
Browse files
app.py
CHANGED
|
@@ -19,22 +19,22 @@ demo = gr.Interface(
|
|
| 19 |
placeholder="Ask a question about the image...",
|
| 20 |
value="Describe this image"
|
| 21 |
),
|
| 22 |
-
gr.Slider(
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
)
|
| 29 |
],
|
| 30 |
outputs=gr.Textbox(label="Response", interactive=False),
|
| 31 |
title="Nexa Omni Vision",
|
| 32 |
-
description=f"""
|
| 33 |
-
Model Repo: <a href="https://huggingface.co/NexaAIDev/omnivision-968M">NexaAIDev/omnivision-968M</a>
|
| 34 |
|
| 35 |
-
*Model updated on Nov 21, 2024\n
|
| 36 |
-
Upload an image and ask questions about it. The model will analyze the image and provide detailed answers to your queries.
|
| 37 |
-
""",
|
| 38 |
)
|
| 39 |
|
| 40 |
if __name__ == "__main__":
|
|
|
|
| 19 |
placeholder="Ask a question about the image...",
|
| 20 |
value="Describe this image"
|
| 21 |
),
|
| 22 |
+
# gr.Slider(
|
| 23 |
+
# minimum=50,
|
| 24 |
+
# maximum=200,
|
| 25 |
+
# value=200,
|
| 26 |
+
# step=1,
|
| 27 |
+
# label="Max Tokens"
|
| 28 |
+
# )
|
| 29 |
],
|
| 30 |
outputs=gr.Textbox(label="Response", interactive=False),
|
| 31 |
title="Nexa Omni Vision",
|
| 32 |
+
# description=f"""
|
| 33 |
+
# Model Repo: <a href="https://huggingface.co/NexaAIDev/omnivision-968M">NexaAIDev/omnivision-968M</a>
|
| 34 |
|
| 35 |
+
# *Model updated on Nov 21, 2024\n
|
| 36 |
+
# Upload an image and ask questions about it. The model will analyze the image and provide detailed answers to your queries.
|
| 37 |
+
# """,
|
| 38 |
)
|
| 39 |
|
| 40 |
if __name__ == "__main__":
|