Update app.py
Browse files
app.py
CHANGED
|
@@ -88,4 +88,11 @@ video_interface = gr.Interface(
|
|
| 88 |
title="Video Inference"
|
| 89 |
)
|
| 90 |
|
| 91 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
title="Video Inference"
|
| 89 |
)
|
| 90 |
|
| 91 |
+
with gr.Blocks() as demo:
|
| 92 |
+
with gr.TabbedInterface(tab_names=["Image", "Video"]):
|
| 93 |
+
with gr.TabItem("Image"):
|
| 94 |
+
image_interface.render()
|
| 95 |
+
with gr.TabItem("Video"):
|
| 96 |
+
video_interface.render()
|
| 97 |
+
|
| 98 |
+
demo.launch()
|