Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,10 @@ video_interface = gr.Interface(
|
|
| 117 |
)
|
| 118 |
|
| 119 |
# Combine both interfaces into tabs
|
| 120 |
-
app = gr.TabbedInterface(
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
# Launch app
|
| 123 |
if __name__ == "__main__":
|
|
|
|
| 117 |
)
|
| 118 |
|
| 119 |
# Combine both interfaces into tabs
|
| 120 |
+
app = gr.TabbedInterface(
|
| 121 |
+
[image_interface, video_interface],
|
| 122 |
+
tab_names=["Image Mode", "Video Mode"] # Explicitly define tab names
|
| 123 |
+
)
|
| 124 |
|
| 125 |
# Launch app
|
| 126 |
if __name__ == "__main__":
|