Spaces:
Running
Running
BoltzmannEntropy
commited on
Commit
·
68e4fda
1
Parent(s):
2ed398f
readme
Browse files
app.py
CHANGED
|
@@ -315,17 +315,17 @@ def create_gradio_interface():
|
|
| 315 |
# image_path = os.path.abspath("static/image.jpg")
|
| 316 |
# gr.Image(value=image_path, label="HF Image", width=300, height=300)
|
| 317 |
|
| 318 |
-
init_image = gr.Image(label="Selected Image", type="filepath")
|
| 319 |
-
|
| 320 |
-
# Use gr.Examples to showcase a set of example images
|
| 321 |
-
gr.Examples(
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
)
|
| 328 |
-
init_image.change(show_image, inputs=init_image, outputs=init_image)
|
| 329 |
|
| 330 |
with gr.Tab("VLM model and Dataset selection"):
|
| 331 |
gr.Markdown("### Dataset Selection: HF or from a ZIP file.")
|
|
|
|
| 315 |
# image_path = os.path.abspath("static/image.jpg")
|
| 316 |
# gr.Image(value=image_path, label="HF Image", width=300, height=300)
|
| 317 |
|
| 318 |
+
# init_image = gr.Image(label="Selected Image", type="filepath")
|
| 319 |
+
|
| 320 |
+
# # Use gr.Examples to showcase a set of example images
|
| 321 |
+
# gr.Examples(
|
| 322 |
+
# examples=[
|
| 323 |
+
# ["static/image.jpg"],
|
| 324 |
+
# ],
|
| 325 |
+
# inputs=[init_image],
|
| 326 |
+
# label="Example Images"
|
| 327 |
+
# )
|
| 328 |
+
# init_image.change(show_image, inputs=init_image, outputs=init_image)
|
| 329 |
|
| 330 |
with gr.Tab("VLM model and Dataset selection"):
|
| 331 |
gr.Markdown("### Dataset Selection: HF or from a ZIP file.")
|