Moibe commited on
Commit
004be2d
·
1 Parent(s): 633024f

Recursion fixed

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,11 +17,11 @@ def getAccess(userfile):
17
 
18
  return resultado_final
19
 
20
- def print(sulkukey):
21
 
22
  print("Hola mundo")
23
 
24
- return "Hola Mundo"
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=print, inputs=text_input, outputs=text_output, api_name="print")
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()