Spaces:
Runtime error
Runtime error
Stepan Zadolya
commited on
Commit
·
5b2b4b8
1
Parent(s):
3899870
Add application file
Browse files- app.py +15 -0
- requirements.txt +0 -0
app.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# --------------------------------
|
2 |
+
# by mrZ
|
3 |
+
# Email: [email protected]
|
4 |
+
# Date: 2023-06-29
|
5 |
+
# Time: 11:08
|
6 |
+
# About:
|
7 |
+
# --------------------------------
|
8 |
+
|
9 |
+
import gradio as gr
|
10 |
+
|
11 |
+
def greet(name):
|
12 |
+
return "Hello " + name + "!!"
|
13 |
+
|
14 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
15 |
+
iface.launch()
|
requirements.txt
ADDED
File without changes
|