AIppyDev commited on
Commit
e00a543
·
1 Parent(s): 0090dcc
Files changed (1) hide show
  1. src/gradio/pages/ml_tab.py +3 -3
src/gradio/pages/ml_tab.py CHANGED
@@ -265,13 +265,13 @@ def render_ml_tab(
265
  btn_debug = gr.Button("DEBUG: fill text")
266
 
267
  def _debug_fill():
268
- print("[DEBUG] test button clicked")
269
- return "DEBUG VALUE FROM SPACE"
270
 
271
  btn_debug.click(
272
  _debug_fill,
273
  inputs=None,
274
- outputs=level_out, # 👈 ICI : on pointe bien vers la textbox
275
  )
276
 
277
  gr.Markdown("---")
 
265
  btn_debug = gr.Button("DEBUG: fill text")
266
 
267
  def _debug_fill():
268
+ print("[DEBUG] test button clicked 2")
269
+ return "DEBUG VALUE FROM SPACE 2"
270
 
271
  btn_debug.click(
272
  _debug_fill,
273
  inputs=None,
274
+ outputs=level_out, # ICI : on pointe bien vers la textbox
275
  )
276
 
277
  gr.Markdown("---")