Spaces:
Runtime error
Runtime error
shaikngit
commited on
Commit
·
3935b86
1
Parent(s):
7ab5394
Add app.py and requirements.txt files
Browse files- app.py +10 -0
- requirements.txt +2 -0
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
def greet(name):
|
2 |
+
return "Hello" + name + "!!"
|
3 |
+
|
4 |
+
iface = gr.Interface(fn=greet,
|
5 |
+
inputs="text",
|
6 |
+
outputs="text",
|
7 |
+
title="Simple Application",
|
8 |
+
description= "for demo")
|
9 |
+
|
10 |
+
iface.launch()
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
numpy
|
2 |
+
gradio
|