Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -68,11 +68,11 @@ chameleon = load_img("giraffe.jpg", output_type="pil")
|
|
68 |
url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
|
69 |
|
70 |
tab1 = gr.Interface(
|
71 |
-
fn, inputs=image, outputs=[slider1, gr.File(label="output png file")], examples=[chameleon],
|
72 |
)
|
73 |
|
74 |
-
tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, gr.File(label="output png file")], examples=[url], api_name=
|
75 |
-
tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["giraffe.jpg"], api_name=
|
76 |
|
77 |
|
78 |
demo = gr.TabbedInterface(
|
@@ -80,4 +80,4 @@ demo = gr.TabbedInterface(
|
|
80 |
)
|
81 |
|
82 |
if __name__ == "__main__":
|
83 |
-
demo.launch(show_error=True)
|
|
|
68 |
url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
|
69 |
|
70 |
tab1 = gr.Interface(
|
71 |
+
fn, inputs=image, outputs=[slider1, gr.File(label="output png file")], examples=[chameleon],api_name=False
|
72 |
)
|
73 |
|
74 |
+
tab2 = gr.Interface(fn, inputs=text, outputs=[slider2, gr.File(label="output png file")], examples=[url], api_name=False)
|
75 |
+
tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["giraffe.jpg"], api_name=False)
|
76 |
|
77 |
|
78 |
demo = gr.TabbedInterface(
|
|
|
80 |
)
|
81 |
|
82 |
if __name__ == "__main__":
|
83 |
+
demo.launch(show_error=True,show_api=False)
|