Spaces:
Sleeping
Sleeping
Commit
·
b65cc42
1
Parent(s):
387be00
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
|
|
4 |
return "Hello " + name + "!! " + iface.api_name+" da el api name "
|
5 |
|
6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
4 |
+
iface.api_name = "testing"
|
5 |
return "Hello " + name + "!! " + iface.api_name+" da el api name "
|
6 |
|
7 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
+
iface.api_name="testing"
|
9 |
iface.launch()
|