Spaces:
Sleeping
Sleeping
sunnychenxiwang
commited on
Commit
·
5076732
1
Parent(s):
d89f3e5
update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def greet(name,
|
4 |
-
return "Hello " *
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=greet,
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def greet(name, cnt):
|
4 |
+
return "Hello " * cnt + name + "!"
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=greet,
|