Spaces:
Build error
Build error
test
Browse files
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, #
|
| 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("---")
|