BoltzmannEntropy commited on
Commit
68e4fda
1 Parent(s): 2ed398f
Files changed (1) hide show
  1. app.py +11 -11
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
- 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.")
 
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.")