Ahsen Khaliq commited on
Commit
f0b4c1c
1 Parent(s): 9b0b2e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  title = "T5"
3
  description = "Gradio Demo for T5, Read more at the links below."
4
- article = "<p style='text-align: center'><a href='https://huggingface.co/bigscience/T0pp' target='_blank'>Hugging face model page</a> | <a href='https://github.com/bigscience-workshop/promptsource' target='_blank'>Github Repo</a> | <a href='https://arxiv.org/abs/2110.08207' target='_blank'>Multitask Prompted Training Enables Zero-Shot Task Generalization</a></p>"
5
  examples = [
6
- ['What is the capital of France?']
7
  ]
8
  gr.Interface.load("huggingface/google/t5-base-lm-adapt", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
 
1
  import gradio as gr
2
  title = "T5"
3
  description = "Gradio Demo for T5, Read more at the links below."
4
+ article = "<p style='text-align: center'><a href='https://huggingface.co/google/t5-base-lm-adapt' target='_blank'>Hugging face model page</a></p>"
5
  examples = [
6
+ ['Sevilla is a city in Spain']
7
  ]
8
  gr.Interface.load("huggingface/google/t5-base-lm-adapt", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()