BhumikaMak commited on
Commit
0458adb
·
1 Parent(s): b30ea65

Update: layout refinement

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks() as interface:
63
  gr.Markdown("**Or upload your own image:**")
64
  upload_image = gr.Image(
65
  label="Upload an Image",
66
- type="filepath", # Correct type for file path compatibility
67
  )
68
  # Right side: Selected sample image display
69
  sample_display = gr.Image(
@@ -90,4 +90,4 @@ with gr.Blocks() as interface:
90
  outputs=result_gallery,
91
  )
92
 
93
- interface.launch(share=True)
 
63
  gr.Markdown("**Or upload your own image:**")
64
  upload_image = gr.Image(
65
  label="Upload an Image",
66
+ type="pil", # Correct type for file path compatibility
67
  )
68
  # Right side: Selected sample image display
69
  sample_display = gr.Image(
 
90
  outputs=result_gallery,
91
  )
92
 
93
+ interface.launch(share=True)