Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,10 +77,10 @@ with gr.Blocks() as demo:
|
|
77 |
train_button = gr.Button("Train !")
|
78 |
status = gr.Textbox(labe="Training status")
|
79 |
|
80 |
-
train_button.click(
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
)
|
85 |
|
86 |
demo.queue().launch()
|
|
|
77 |
train_button = gr.Button("Train !")
|
78 |
status = gr.Textbox(labe="Training status")
|
79 |
|
80 |
+
train_button.click(
|
81 |
+
fn = main,
|
82 |
+
inputs = [dataset_id],
|
83 |
+
outputs = [status]
|
84 |
+
)
|
85 |
|
86 |
demo.queue().launch()
|