akhaliq HF staff commited on
Commit
53868aa
1 Parent(s): b22f88e

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
+
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()