johnpaulbin commited on
Commit
94a1056
·
1 Parent(s): 439a009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  title = "T0pp"
3
  description = "Gradio Demo for T0, T0* is a series of encoder-decoder models trained on a large set of different tasks specified in natural language prompts. Can use the models to perform inference on tasks by specifying your query in natural language, and the models will generate a prediction. 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></p>"
5
  examples = [
6
  ['Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy'],
7
  ['Reorder the words in this sentence: justin and name bieber years is my am I 27 old.']
8
  ]
9
- gr.Interface.load("huggingface/bigscience/T0pp", 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 = "T0pp"
3
  description = "Gradio Demo for T0, T0* is a series of encoder-decoder models trained on a large set of different tasks specified in natural language prompts. Can use the models to perform inference on tasks by specifying your query in natural language, and the models will generate a prediction. Read more at the links below."
4
+ article = "<p style='text-align: center'><a href='https://huggingface.co/bigscience/T0' target='_blank'>Hugging face model page</a></p>"
5
  examples = [
6
  ['Is this review positive or negative? Review: this is the best cast iron skillet you will ever buy'],
7
  ['Reorder the words in this sentence: justin and name bieber years is my am I 27 old.']
8
  ]
9
+ gr.Interface.load("huggingface/bigscience/T0", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()