Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title="T5"
|
4 |
+
|
5 |
+
description="Gradio demo for T5"
|
6 |
+
|
7 |
+
examples=[["London, the capital of England and the United Kingdom, is a 21st-century city with history stretching back to Roman times."]]
|
8 |
+
gr.Interface.load("huggingface/t5-small",title=title,description=description,examples=examples).launch()
|