Spaces:
Sleeping
Sleeping
Fix test
Browse files
app.py
CHANGED
@@ -96,15 +96,15 @@ lbl_msg = gr.Label("AI Engine ready...")
|
|
96 |
btn_buy = gr.Button("Buy More", visible=True, size='lg')
|
97 |
result_image = gr.Image()
|
98 |
|
99 |
-
def cambio():
|
100 |
|
101 |
-
print("Ejecutando
|
102 |
|
103 |
return input
|
104 |
|
105 |
with gr.Blocks(css="footer {visibility: hidden}") as main:
|
106 |
|
107 |
-
lbl_msg.change(fn=cambio)
|
108 |
btn_buy.click(fn=cambio, inputs="texto de prueba", outputs=lbl_msg, api_name="greet")
|
109 |
|
110 |
with gr.Row():
|
|
|
96 |
btn_buy = gr.Button("Buy More", visible=True, size='lg')
|
97 |
result_image = gr.Image()
|
98 |
|
99 |
+
def cambio(input):
|
100 |
|
101 |
+
print("Ejecutando change...")
|
102 |
|
103 |
return input
|
104 |
|
105 |
with gr.Blocks(css="footer {visibility: hidden}") as main:
|
106 |
|
107 |
+
lbl_msg.change(fn=cambio, inputs="otro texto de prueba")
|
108 |
btn_buy.click(fn=cambio, inputs="texto de prueba", outputs=lbl_msg, api_name="greet")
|
109 |
|
110 |
with gr.Row():
|