Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
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,
|