Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,14 @@ def greet(n, name):
|
|
10 |
print(name)
|
11 |
return n, n
|
12 |
|
|
|
|
|
|
|
|
|
13 |
counter = gr.State(value=0)
|
14 |
|
15 |
gr.Interface(
|
16 |
-
fn=
|
17 |
inputs=[counter, gr.Text()],
|
18 |
outputs=[counter, gr.Number()],
|
19 |
).launch()
|
|
|
10 |
print(name)
|
11 |
return n, n
|
12 |
|
13 |
+
def greet_raw(n, name):
|
14 |
+
print(name)
|
15 |
+
return n, n
|
16 |
+
|
17 |
counter = gr.State(value=0)
|
18 |
|
19 |
gr.Interface(
|
20 |
+
fn=greet_raw,
|
21 |
inputs=[counter, gr.Text()],
|
22 |
outputs=[counter, gr.Number()],
|
23 |
).launch()
|