Spaces:
Running
on
Zero
Running
on
Zero
small formatting change
Browse files
app.py
CHANGED
@@ -97,14 +97,20 @@ with gr.Blocks(
|
|
97 |
"""
|
98 |
)
|
99 |
|
100 |
-
#
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
# Gallery-style layout for all images
|
110 |
with gr.Row(elem_classes="image-gallery"):
|
|
|
97 |
"""
|
98 |
)
|
99 |
|
100 |
+
# Model version selector with information panel
|
101 |
+
with gr.Row():
|
102 |
+
model_version = gr.Dropdown(
|
103 |
+
choices=["v2", "v2.1"],
|
104 |
+
value="v2",
|
105 |
+
label="Model Version",
|
106 |
+
info="Select which model weights to use",
|
107 |
+
scale=1
|
108 |
+
)
|
109 |
+
|
110 |
+
gr.Markdown("""
|
111 |
+
The model may take a few seconds to load the first time you use it.
|
112 |
+
Subsequent decompositions should be faster after the model is loaded.
|
113 |
+
""")
|
114 |
|
115 |
# Gallery-style layout for all images
|
116 |
with gr.Row(elem_classes="image-gallery"):
|