Fixing submit button ? - What wind.surf will do ?
Browse files
app.py
CHANGED
@@ -132,7 +132,16 @@ with gr.Blocks() as demo:
|
|
132 |
placeholder="Type your message here...",
|
133 |
lines=1
|
134 |
)
|
135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
|
137 |
with gr.Accordion("Additional Inputs", open=False):
|
138 |
model_selector = gr.Dropdown(
|
|
|
132 |
placeholder="Type your message here...",
|
133 |
lines=1
|
134 |
)
|
135 |
+
|
136 |
+
with gr.Row():
|
137 |
+
_ = gr.Button(value="", visible=False, scale=4) # Spacer
|
138 |
+
submit = gr.Button(
|
139 |
+
"Submit",
|
140 |
+
variant="primary",
|
141 |
+
scale=2,
|
142 |
+
size="lg"
|
143 |
+
)
|
144 |
+
_ = gr.Button(value="", visible=False, scale=4) # Spacer
|
145 |
|
146 |
with gr.Accordion("Additional Inputs", open=False):
|
147 |
model_selector = gr.Dropdown(
|