Wootang01 commited on
Commit
6d2d274
·
1 Parent(s): 1185d3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1,9 +1,5 @@
1
  import gradio as gr
2
 
3
- iface = gr.Interface.load("huggingface/bigscience/T0pp", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title="NLP Tasks - T0pp", description="This T0pp language model can perform natural language processing (NLP) tasks such as inference, paraphrasing, question-answering and summarization. You can specify the task and query in natural language in the Input Text box.", examples=[
4
- ['A is the son of uncle B. What is the family relationship between A and B?'],["Question A: How is air traffic controlled?
5
- Question B: How do you become an air traffic controller?
6
- Pick one: these questions are duplicates or not duplicates."],["Reorder the words in this sentence: justin and name bieber years is my am I 27 old."]
7
- ], enable_queue=True)
8
 
9
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ iface = gr.Interface.load("huggingface/bigscience/T0pp", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title="NLP Tasks - T0pp", description="This T0pp language model can perform natural language processing (NLP) tasks such as inference, paraphrasing, question-answering and summarization. You can specify the task and query in natural language in the Input Text box.", examples=[['A is the son of uncle B. What is the family relationship between A and B?'],["Question A: How is air traffic controlled? Question B: How do you become an air traffic controller? Pick one: these questions are duplicates or not duplicates."],["Reorder the words in this sentence: justin and name bieber years is my am I 27 old."]], enable_queue=True)
 
 
 
 
4
 
5
  iface.launch()