Ahsen Khaliq commited on
Commit
8d812a0
·
1 Parent(s): ac5dfd3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ title = "T0pp-11B"
3
+ description = "Gradio Demo for T0pp-11B. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
4
+ article = "<p style='text-align: center'><a href='https://huggingface.co/bigscience/T0pp_11B' 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
+ ]
8
+ gr.Interface.load("huggingface/bigscience/T0pp_11B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()