Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ with gr.Blocks(theme="abidlabs/Lime") as demo:
|
|
129 |
text_gen_submit = gr.Button()
|
130 |
text_gen_output = gr.Textbox(label="Text Generation Output")
|
131 |
text_gen_submit.click(turna, inputs=[text_gen_input], outputs=text_gen_output)
|
132 |
-
text_gen_example = "Bir varmış, bir yokmuş, evvel zaman içinde, kalbur saman içinde, uzak diyarların birinde bir turna"
|
133 |
text_gen_examples = gr.Examples(examples = text_gen_example, inputs = [text_gen_input], outputs=text_gen_output, fn=turna)
|
134 |
|
135 |
with gr.Tab("Text Categorization"):
|
|
|
129 |
text_gen_submit = gr.Button()
|
130 |
text_gen_output = gr.Textbox(label="Text Generation Output")
|
131 |
text_gen_submit.click(turna, inputs=[text_gen_input], outputs=text_gen_output)
|
132 |
+
text_gen_example = [["Bir varmış, bir yokmuş, evvel zaman içinde, kalbur saman içinde, uzak diyarların birinde bir turna"]]
|
133 |
text_gen_examples = gr.Examples(examples = text_gen_example, inputs = [text_gen_input], outputs=text_gen_output, fn=turna)
|
134 |
|
135 |
with gr.Tab("Text Categorization"):
|