pablocst commited on
Commit
18660c4
·
1 Parent(s): 278d2f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -119,7 +119,9 @@ with gr.Blocks(css=css) as demo:
119
  inputs = gr.TextBox(placeholder="Olá!", label="Digite uma entrada e pressione Enter")
120
  state = gr.State([])
121
  b1 = gr.Button("Executar")
122
-
 
 
123
  #inputs, top_p, temperature, top_k, repetition_penalty
124
  with gr.Accordion("Parameters", open=False):
125
  top_p = gr.Slider( minimum=-0, maximum=1.0, value=1.0, step=0.05, interactive=True, label="Top-p (nucleus sampling)",)
@@ -133,7 +135,6 @@ with gr.Blocks(css=css) as demo:
133
  b1.click(reset_textbox, [], [inputs])
134
  inputs.submit(reset_textbox, [], [inputs])
135
 
136
- gr.Examples(["My name is Clara and I am"], inputs=[])
137
 
138
  #gr.Markdown(description)
139
  demo.queue().launch(debug=True)
 
119
  inputs = gr.TextBox(placeholder="Olá!", label="Digite uma entrada e pressione Enter")
120
  state = gr.State([])
121
  b1 = gr.Button("Executar")
122
+
123
+ gr.Examples(["My name is Clara and I am"], inputs=[inputs])
124
+
125
  #inputs, top_p, temperature, top_k, repetition_penalty
126
  with gr.Accordion("Parameters", open=False):
127
  top_p = gr.Slider( minimum=-0, maximum=1.0, value=1.0, step=0.05, interactive=True, label="Top-p (nucleus sampling)",)
 
135
  b1.click(reset_textbox, [], [inputs])
136
  inputs.submit(reset_textbox, [], [inputs])
137
 
 
138
 
139
  #gr.Markdown(description)
140
  demo.queue().launch(debug=True)