Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
binxu
/
Ziyue-GPT
like
2
Sleeping
App
Files
Files
Community
binxu
commited on
Oct 11, 2022
Commit
5c2dae5
•
1 Parent(s):
2fe18dd
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
import gradio as gr
2
+
import transformers
3
+
import tokenizers
4
+
5
+
def greet(name):
6
+
return "Hello " + name + "!!"
7
+
8
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
iface.launch()