Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -384,6 +384,8 @@ def fonc_start(id_session,id_module):
|
|
384 |
def test_start(o):
|
385 |
return gr.Image(None)
|
386 |
#return None
|
|
|
|
|
387 |
|
388 |
def make_me():
|
389 |
with gr.Column():
|
@@ -477,7 +479,7 @@ def make_me():
|
|
477 |
print(outputs[0])
|
478 |
for o,i in zip(outputs,id_modules):
|
479 |
#o.change(fonc_start,[id_session,i],[o])
|
480 |
-
o.change(
|
481 |
#button_start.click(lambda : gr.Image(None),[],[o])
|
482 |
gen_event = gr.on(triggers=[button_start.click], fn=test_start,inputs=[o], outputs=[o])
|
483 |
|
|
|
384 |
def test_start(o):
|
385 |
return gr.Image(None)
|
386 |
#return None
|
387 |
+
def test_change():
|
388 |
+
print("go\n")
|
389 |
|
390 |
def make_me():
|
391 |
with gr.Column():
|
|
|
479 |
print(outputs[0])
|
480 |
for o,i in zip(outputs,id_modules):
|
481 |
#o.change(fonc_start,[id_session,i],[o])
|
482 |
+
o.change(test_change,[],[])
|
483 |
#button_start.click(lambda : gr.Image(None),[],[o])
|
484 |
gen_event = gr.on(triggers=[button_start.click], fn=test_start,inputs=[o], outputs=[o])
|
485 |
|