JLW commited on
Commit
5da435d
·
1 Parent(s): 65251b9
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -158,7 +158,7 @@ with block:
158
 
159
  output = gr.Markdown("")
160
  with gr.Row():
161
- request = gr.Textbox(label="Words to express: ",
162
  value="The quick brown fox jumped over the lazy dog.",
163
  placeholder="Ex: The quick brown fox jumped over the lazy dog.")
164
 
@@ -197,6 +197,15 @@ with block:
197
  inputs=[literary_style_radio, literary_style_state],
198
  outputs=[literary_style_state])
199
 
 
 
 
 
 
 
 
 
 
200
  with gr.Column():
201
  with gr.Accordion("Emotions", open=True):
202
  anticipation_level_radio = gr.Radio(label="Anticipation level:",
 
158
 
159
  output = gr.Markdown("")
160
  with gr.Row():
161
+ request = gr.Textbox(label="Express this: ",
162
  value="The quick brown fox jumped over the lazy dog.",
163
  placeholder="Ex: The quick brown fox jumped over the lazy dog.")
164
 
 
197
  inputs=[literary_style_radio, literary_style_state],
198
  outputs=[literary_style_state])
199
 
200
+ gr.Examples(
201
+ examples=[
202
+ "The quick brown fox jumped over the lazy dog",
203
+ "I want some ice cream",
204
+ "Platypuses are weird",
205
+ ],
206
+ inputs=request
207
+ )
208
+
209
  with gr.Column():
210
  with gr.Accordion("Emotions", open=True):
211
  anticipation_level_radio = gr.Radio(label="Anticipation level:",