Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -623,7 +623,7 @@ with gr.Blocks(css=css) as demo:
|
|
623 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
624 |
|
625 |
#The main train function
|
626 |
-
train_btn.click(fn=train, inputs=is_visible+concept_collection+file_collection+[base_model_to_use]+[thing_experimental]+[training_summary_where_to_upload]+[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)
|
627 |
|
628 |
#Button to generate an image from your trained model after training
|
629 |
generate_button.click(fn=generate, inputs=[prompt, inference_steps], outputs=result_image, queue=False)
|
|
|
623 |
train_btn.click(lambda:gr.update(visible=True), inputs=None, outputs=training_ongoing)
|
624 |
|
625 |
#The main train function
|
626 |
+
train_btn.click(fn=train, inputs=is_visible+concept_collection+file_collection+[base_model_to_use]+[thing_experimental]+[training_summary_where_to_upload]+[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, api_name="launch training")
|
627 |
|
628 |
#Button to generate an image from your trained model after training
|
629 |
generate_button.click(fn=generate, inputs=[prompt, inference_steps], outputs=result_image, queue=False)
|