Spaces:
Runtime error
Runtime error
Commit
•
1a3a15c
1
Parent(s):
c947e95
Update app.py
Browse files
app.py
CHANGED
@@ -482,7 +482,8 @@ with gr.Blocks(css=css) as demo:
|
|
482 |
perc_txt_encoder.change(fn=count_files, inputs=file_collection+[type_of_thing]+[steps]+[perc_txt_encoder]+[swap_auto_calculated], outputs=[training_summary, training_summary_text], queue=False)
|
483 |
|
484 |
#Give more options if the user wants to finish everything after training
|
485 |
-
|
|
|
486 |
#Add a message for while it is in training
|
487 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
488 |
|
|
|
482 |
perc_txt_encoder.change(fn=count_files, inputs=file_collection+[type_of_thing]+[steps]+[perc_txt_encoder]+[swap_auto_calculated], outputs=[training_summary, training_summary_text], queue=False)
|
483 |
|
484 |
#Give more options if the user wants to finish everything after training
|
485 |
+
if(is_spaces):
|
486 |
+
training_summary_checkbox.change(fn=checkbox_swap, inputs=training_summary_checkbox, outputs=[training_summary_token_message, training_summary_token, training_summary_model_name, training_summary_where_to_upload],queue=False, show_progress=False)
|
487 |
#Add a message for while it is in training
|
488 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
489 |
|