Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
f0b4c1c
1
Parent(s):
9b0b2e4
Update app.py
Browse files
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/
|
5 |
examples = [
|
6 |
-
['
|
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()
|