234
Browse files
app.py
CHANGED
|
@@ -34,7 +34,6 @@ def index(img_url):
|
|
| 34 |
return result_dict
|
| 35 |
|
| 36 |
|
| 37 |
-
|
| 38 |
inputs_image_url = [
|
| 39 |
gr.Textbox(type="text", label="Image URL"),
|
| 40 |
]
|
|
@@ -50,3 +49,8 @@ interface_image_url = gr.Interface(
|
|
| 50 |
title="Popup detection",
|
| 51 |
cache_examples=False,
|
| 52 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
return result_dict
|
| 35 |
|
| 36 |
|
|
|
|
| 37 |
inputs_image_url = [
|
| 38 |
gr.Textbox(type="text", label="Image URL"),
|
| 39 |
]
|
|
|
|
| 49 |
title="Popup detection",
|
| 50 |
cache_examples=False,
|
| 51 |
)
|
| 52 |
+
|
| 53 |
+
gr.TabbedInterface(
|
| 54 |
+
[interface_image_url],
|
| 55 |
+
tab_names=['Image inference']
|
| 56 |
+
).queue().launch(share=True)
|