Spaces:
Running
Running
Moibe
commited on
Commit
·
004be2d
1
Parent(s):
633024f
Recursion fixed
Browse files
app.py
CHANGED
@@ -17,11 +17,11 @@ def getAccess(userfile):
|
|
17 |
|
18 |
return resultado_final
|
19 |
|
20 |
-
def
|
21 |
|
22 |
print("Hola mundo")
|
23 |
|
24 |
-
return
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
with gr.Row():
|
@@ -33,6 +33,6 @@ with gr.Blocks() as demo:
|
|
33 |
text_output = gr.Textbox()
|
34 |
|
35 |
access_btn.click(fn=getAccess, inputs=text_input, outputs=text_output, api_name="entrar")
|
36 |
-
debit_btn.click(fn=
|
37 |
|
38 |
demo.launch()
|
|
|
17 |
|
18 |
return resultado_final
|
19 |
|
20 |
+
def ask(sulkukey):
|
21 |
|
22 |
print("Hola mundo")
|
23 |
|
24 |
+
return 1
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
with gr.Row():
|
|
|
33 |
text_output = gr.Textbox()
|
34 |
|
35 |
access_btn.click(fn=getAccess, inputs=text_input, outputs=text_output, api_name="entrar")
|
36 |
+
debit_btn.click(fn=ask, inputs=text_input, outputs=text_output, api_name="print")
|
37 |
|
38 |
demo.launch()
|