Spaces:
Runtime error
Runtime error
Marcelo de Castro Cardoso
commited on
Commit
•
e3025be
1
Parent(s):
e161f68
init commit
Browse files- .gitignore +2 -0
- app.py +13 -0
- requirement.txt +1 -0
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
.project
|
2 |
+
.pydevproject
|
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'''
|
2 |
+
Created on 29 de nov. de 2023
|
3 |
+
|
4 |
+
@author: marcelo
|
5 |
+
'''
|
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()
|
requirement.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio
|