Spaces:
Runtime error
Runtime error
test
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ with block:
|
|
201 |
|
202 |
text_gen = gr.Text(label="generated_text")
|
203 |
|
204 |
-
ex = gr.Examples(examples=examples, fn=inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen, cache_examples=
|
205 |
|
206 |
text.submit(inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
|
207 |
btn.click(inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
|
|
|
201 |
|
202 |
text_gen = gr.Text(label="generated_text")
|
203 |
|
204 |
+
ex = gr.Examples(examples=examples, fn=inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen, cache_examples=False)
|
205 |
|
206 |
text.submit(inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
|
207 |
btn.click(inference, inputs=[task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
|