Gyr0MAN commited on
Commit
30ba9b5
1 Parent(s): 15e253a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,5 +10,5 @@ def generate_text(inp):
10
  output = tokenizer.decode(beam_output[0], skip_special_token=True, clean_up_tokenization_spaces=True)
11
  return ".".join(output.split(".")[:-1]) + "."
12
 
13
- output_text = gr.outputs.Textbox()
14
  gr.Interface(generate_text,"textbox",output_text,title="Text Generation machine ",description="Ask any question. Note: It can take 20-60 seconds to generate output based on your internet connection.").launch()
 
10
  output = tokenizer.decode(beam_output[0], skip_special_token=True, clean_up_tokenization_spaces=True)
11
  return ".".join(output.split(".")[:-1]) + "."
12
 
13
+ output_text = gr.Textbox()
14
  gr.Interface(generate_text,"textbox",output_text,title="Text Generation machine ",description="Ask any question. Note: It can take 20-60 seconds to generate output based on your internet connection.").launch()