Commit
·
af63c6b
1
Parent(s):
3618356
removed other tabs
Browse files
app.py
CHANGED
|
@@ -63,11 +63,7 @@ png_file = gr.File(label="output png file")
|
|
| 63 |
chameleon = load_img("butterfly.jpg", output_type="pil")
|
| 64 |
|
| 65 |
url = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"
|
| 66 |
-
tab1 = gr.Interface(
|
| 67 |
-
fn, inputs=image, outputs=slider1, examples=[chameleon], api_name="image"
|
| 68 |
-
)
|
| 69 |
|
| 70 |
-
tab2 = gr.Interface(fn, inputs=text, outputs=slider2, examples=[url], api_name="text")
|
| 71 |
tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["butterfly.jpg"], api_name="png")
|
| 72 |
|
| 73 |
|
|
|
|
| 63 |
chameleon = load_img("butterfly.jpg", output_type="pil")
|
| 64 |
|
| 65 |
url = "https://hips.hearstapps.com/hmg-prod/images/gettyimages-1229892983-square.jpg"
|
|
|
|
|
|
|
|
|
|
| 66 |
|
|
|
|
| 67 |
tab3 = gr.Interface(process_file, inputs=image2, outputs=png_file, examples=["butterfly.jpg"], api_name="png")
|
| 68 |
|
| 69 |
|