Spaces:
Runtime error
Runtime error
Commit ·
ee499f9
1
Parent(s): 7bf8498
jpg -> jpeg
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ 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")
|
| 64 |
-
tab3 = gr.Interface(process_file, inputs=image_file_upload, outputs=output_file, examples=["butterfly.
|
| 65 |
|
| 66 |
demo = gr.TabbedInterface(
|
| 67 |
[tab1, tab2, tab3], ["Image Upload", "URL Input", "File Output"], title="Background Removal Tool"
|
|
|
|
| 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")
|
| 64 |
+
tab3 = gr.Interface(process_file, inputs=image_file_upload, outputs=output_file, examples=["butterfly.jpeg"], api_name="png")
|
| 65 |
|
| 66 |
demo = gr.TabbedInterface(
|
| 67 |
[tab1, tab2, tab3], ["Image Upload", "URL Input", "File Output"], title="Background Removal Tool"
|