Spaces:
Runtime error
Runtime error
SanjeevReddy
commited on
Commit
·
e50dfb3
1
Parent(s):
034685a
Add application file
Browse files
app.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python
|
2 |
+
# coding:utf-8
|
3 |
+
"""
|
4 |
+
Name: app.py
|
5 |
+
Author: Sanjeeva Reddy Dodlapati
|
6 |
+
Time: 8/21/22 10:17 PM
|
7 |
+
Desc:
|
8 |
+
|
9 |
+
"""
|
10 |
+
import gradio as gr
|
11 |
+
|
12 |
+
def greet(name):
|
13 |
+
return "Hello " + name + "!!"
|
14 |
+
|
15 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
16 |
+
iface.launch()
|