Joe Ho commited on
Commit
292ab7b
·
verified ·
1 Parent(s): e35a0bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ text = gr.Textbox(label="Paste an image URL")
64
  png_file = gr.File(label="output png file")
65
 
66
 
67
- chameleon = load_img("sea_fortune.jpg", output_type="pil")
68
 
69
  url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
70
 
@@ -73,7 +73,7 @@ tab1 = gr.Interface(
73
  )
74
 
75
  tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, gr.File(label="output png file")], examples=[url], api_name="text")
76
- tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["sea_fortune.jpg"], api_name="png")
77
 
78
 
79
  demo = gr.TabbedInterface(
 
64
  png_file = gr.File(label="output png file")
65
 
66
 
67
+ chameleon = load_img("sea_fortune.jpeg", output_type="pil")
68
 
69
  url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
70
 
 
73
  )
74
 
75
  tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, gr.File(label="output png file")], examples=[url], api_name="text")
76
+ tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["sea_fortune.jpeg"], api_name="png")
77
 
78
 
79
  demo = gr.TabbedInterface(