Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
9b0b2e4
1
Parent(s):
b7be657
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
-
title = "
|
3 |
-
description = "Gradio Demo for
|
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 |
-
['
|
7 |
]
|
8 |
-
gr.Interface.load("huggingface/
|
|
|
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()
|