ccareaga commited on
Commit
de3bb71
·
1 Parent(s): e57d033

small formatting change

Browse files
Files changed (1) hide show
  1. app.py +14 -8
app.py CHANGED
@@ -97,14 +97,20 @@ with gr.Blocks(
97
  """
98
  )
99
 
100
- # More compact model version selector using dropdown
101
- model_version = gr.Dropdown(
102
- choices=["v2", "v2.1"],
103
- value="v2",
104
- label="Model Version",
105
- info="Select which model weights to use",
106
- scale=2
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"):