sariyam commited on
Commit
5e17140
Β·
verified Β·
1 Parent(s): fb49650
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ output_file = gr.File(label="Output PNG File")
61
  chameleon = load_img("butterfly.jpg", output_type="pil")
62
  url_example = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"
63
 
64
- tab1 = gr.Interface(fn, inputs=image_upload, outputs=[slider1 , slider1], examples=[chameleon], api_name="image")
65
  tab2 = gr.Interface(fn, inputs=url_input, outputs=slider2, examples=[url_example], api_name="text")
66
  tab3 = gr.Interface(process_file, inputs=image_file_upload, outputs=output_file, examples=["butterfly.jpg"], api_name="png")
67
 
 
61
  chameleon = load_img("butterfly.jpg", output_type="pil")
62
  url_example = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"
63
 
64
+ tab1 = gr.Interface(fn, inputs=image_upload, outputs=[slider1 , output_file], examples=[chameleon], api_name="image")
65
  tab2 = gr.Interface(fn, inputs=url_input, outputs=slider2, examples=[url_example], api_name="text")
66
  tab3 = gr.Interface(process_file, inputs=image_file_upload, outputs=output_file, examples=["butterfly.jpg"], api_name="png")
67