akhaliq HF Staff commited on
Commit
81a531d
·
1 Parent(s): 7ab71bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -9,4 +9,6 @@ def inference(prompt):
9
  output_text, output_logits = generative_t5(prompt, max_length=100, temperature=0.)
10
  return output_text
11
 
12
- gr.Interface(inference,"text","text").launch()
 
 
 
9
  output_text, output_logits = generative_t5(prompt, max_length=100, temperature=0.)
10
  return output_text
11
 
12
+ title="T5"
13
+ description="T5 is a transformer model which aims to provide great flexibility and provide better semantic understanding through the training of multiple tasks at once."
14
+ gr.Interface(inference,"text","text",title=title,description=description).launch(enable_queue=True)