merve HF staff commited on
Commit
f9b32f8
1 Parent(s): 272ce33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks(theme="abidlabs/Lime") as demo:
148
  text_gen_submit = gr.Button()
149
  text_gen_output = gr.Textbox(label="Text Generation Output")
150
  text_gen_submit.click(turna, inputs=[text_gen_input, max_new_tokens, length_penalty,
151
- top_k, top_p, temperature=temp, num_beams,
152
  do_sample], outputs=text_gen_output)
153
  text_gen_example = [["Bir varmış, bir yokmuş, evvel zaman içinde, kalbur saman içinde, uzak diyarların birinde bir turna"]]
154
  text_gen_examples = gr.Examples(examples = text_gen_example, inputs = [text_gen_input, max_new_tokens, length_penalty,
 
148
  text_gen_submit = gr.Button()
149
  text_gen_output = gr.Textbox(label="Text Generation Output")
150
  text_gen_submit.click(turna, inputs=[text_gen_input, max_new_tokens, length_penalty,
151
+ top_k, top_p, temp, num_beams,
152
  do_sample], outputs=text_gen_output)
153
  text_gen_example = [["Bir varmış, bir yokmuş, evvel zaman içinde, kalbur saman içinde, uzak diyarların birinde bir turna"]]
154
  text_gen_examples = gr.Examples(examples = text_gen_example, inputs = [text_gen_input, max_new_tokens, length_penalty,