Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,11 +75,11 @@ def preloaded_model_ui():
|
|
75 |
|
76 |
# Combine both interfaces in tabs
|
77 |
with gr.Blocks() as demo:
|
78 |
-
with gr.Tab("Custom Model"):
|
79 |
-
custom_ui = custom_model_ui()
|
80 |
-
|
81 |
with gr.Tab("Preloaded Model"):
|
82 |
preloaded_ui = preloaded_model_ui()
|
83 |
|
|
|
|
|
|
|
84 |
if __name__ == "__main__":
|
85 |
demo.launch()
|
|
|
75 |
|
76 |
# Combine both interfaces in tabs
|
77 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
78 |
with gr.Tab("Preloaded Model"):
|
79 |
preloaded_ui = preloaded_model_ui()
|
80 |
|
81 |
+
with gr.Tab("Custom Model"):
|
82 |
+
custom_ui = custom_model_ui()
|
83 |
+
|
84 |
if __name__ == "__main__":
|
85 |
demo.launch()
|