un-index commited on
Commit
6e9440b
·
1 Parent(s): 2200b3b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,8 +40,8 @@ def f(text):
40
  # gen_text = tokenizer.batch_decode(gen_tokens)[0]
41
  # return gen_text
42
 
43
- iface = gr.Interface(fn=f, inputs="text", outputs="text", enable_queue=True, show_error=True)
44
- iface.launch()
45
 
46
  # all below works but testing
47
  # import gradio as gr
 
40
  # gen_text = tokenizer.batch_decode(gen_tokens)[0]
41
  # return gen_text
42
 
43
+ iface = gr.Interface(fn=f, inputs="text", outputs="text")
44
+ iface.launch(enable_queue=True)
45
 
46
  # all below works but testing
47
  # import gradio as gr