Spaces:
Runtime error
Runtime error
Commit
•
c57b1f6
1
Parent(s):
0eddda3
Update app.py
Browse files
app.py
CHANGED
@@ -451,7 +451,7 @@ with gr.Blocks(css=css) as demo:
|
|
451 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
452 |
|
453 |
#The main train function
|
454 |
-
train_btn.click(fn=train, inputs=is_visible+concept_collection+file_collection+[training_summary_model_name]+[training_summary_checkbox]+[training_summary_token]+[type_of_thing]+[steps]+[perc_txt_encoder]+[swap_auto_calculated], outputs=[result, try_your_model, push_to_hub, convert_button, training_ongoing, completed_training], queue=
|
455 |
|
456 |
#Button to generate an image from your trained model after training
|
457 |
generate_button.click(fn=generate, inputs=prompt, outputs=result_image, queue=False)
|
|
|
451 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
452 |
|
453 |
#The main train function
|
454 |
+
train_btn.click(fn=train, inputs=is_visible+concept_collection+file_collection+[training_summary_model_name]+[training_summary_checkbox]+[training_summary_token]+[type_of_thing]+[steps]+[perc_txt_encoder]+[swap_auto_calculated], outputs=[result, try_your_model, push_to_hub, convert_button, training_ongoing, completed_training], queue=False)
|
455 |
|
456 |
#Button to generate an image from your trained model after training
|
457 |
generate_button.click(fn=generate, inputs=prompt, outputs=result_image, queue=False)
|