Spaces:
Running
Running
column realign
Browse files
app.py
CHANGED
@@ -199,6 +199,16 @@ with block:
|
|
199 |
|
200 |
with gr.Row():
|
201 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
num_words_slider = gr.Slider(label="Max number of words to generate (0 for don't care)",
|
203 |
value=NUM_WORDS_DEFAULT, minimum=0, maximum=100, step=10)
|
204 |
num_words_slider.change(update_foo,
|
@@ -239,15 +249,6 @@ with block:
|
|
239 |
# translate_to_radio.change(update_foo,
|
240 |
# inputs=[translate_to_radio, translate_to_state],
|
241 |
# outputs=[translate_to_state])
|
242 |
-
|
243 |
-
gr.Examples(
|
244 |
-
examples=[
|
245 |
-
"My armpits are sweating gravy",
|
246 |
-
"My skull is filled with solid bone",
|
247 |
-
"Something underneath the house smells horrible",
|
248 |
-
],
|
249 |
-
inputs=request
|
250 |
-
)
|
251 |
|
252 |
with gr.Column():
|
253 |
with gr.Accordion("Emotions", open=True):
|
|
|
199 |
|
200 |
with gr.Row():
|
201 |
with gr.Column():
|
202 |
+
|
203 |
+
gr.Examples(
|
204 |
+
examples=[
|
205 |
+
"My armpits are sweating gravy",
|
206 |
+
"My skull is filled with solid bone",
|
207 |
+
"Something underneath the house smells horrible",
|
208 |
+
],
|
209 |
+
inputs=request
|
210 |
+
)
|
211 |
+
|
212 |
num_words_slider = gr.Slider(label="Max number of words to generate (0 for don't care)",
|
213 |
value=NUM_WORDS_DEFAULT, minimum=0, maximum=100, step=10)
|
214 |
num_words_slider.change(update_foo,
|
|
|
249 |
# translate_to_radio.change(update_foo,
|
250 |
# inputs=[translate_to_radio, translate_to_state],
|
251 |
# outputs=[translate_to_state])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
|
253 |
with gr.Column():
|
254 |
with gr.Accordion("Emotions", open=True):
|