codetechdevx commited on
Commit
0c9bc10
·
1 Parent(s): cbab966

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ url_input = gr.Textbox(label="Paste an image URL")
56
  output_file = gr.File(label="Output PNG File")
57
 
58
  # Example images
59
- chameleon = load_img("butterfly.jpg", output_type="pil")
60
- url_example = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"
61
 
62
  tab1 = gr.Interface(fn, inputs=image_upload, outputs=slider1, examples=[chameleon], api_name="image")
63
  tab2 = gr.Interface(fn, inputs=url_input, outputs=slider2, examples=[url_example], api_name="text")
 
56
  output_file = gr.File(label="Output PNG File")
57
 
58
  # Example images
59
+ chameleon = load_img("butterfly.jpeg", output_type="pil")
60
+ url_example = "https://i.ibb.co/67B6Knk9/students-1807505-1280.jpg"
61
 
62
  tab1 = gr.Interface(fn, inputs=image_upload, outputs=slider1, examples=[chameleon], api_name="image")
63
  tab2 = gr.Interface(fn, inputs=url_input, outputs=slider2, examples=[url_example], api_name="text")