Spaces:
Sleeping
Sleeping
add app file
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: UTF-8 -*-
|
2 |
+
'''
|
3 |
+
@author xuanmo
|
4 |
+
@date 2023/5/23
|
5 |
+
@name __init__.py
|
6 |
+
'''
|
7 |
+
import gradio as gr
|
8 |
+
|
9 |
+
def greet(name):
|
10 |
+
return "Hello " + name + "!!"
|
11 |
+
|
12 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
13 |
+
iface.launch()
|