Commit
•
b764093
1
Parent(s):
ca1f064
Move load inside with
Browse files
app.py
CHANGED
@@ -439,6 +439,8 @@ with gr.Blocks(css=css) as demo:
|
|
439 |
push_button.click(fn=push, inputs=[model_name, where_to_upload, hf_token], outputs=[success_message_upload, result])
|
440 |
#Button to convert the model to ckpt format
|
441 |
convert_button.click(fn=convert_to_ckpt, inputs=[], outputs=result)
|
|
|
|
|
|
|
442 |
|
443 |
-
demo.load(fn=check_status,inputs=None, outputs=[top_description, try_your_model, push_to_hub, result, convert_button])
|
444 |
demo.launch(debug=True)
|
|
|
439 |
push_button.click(fn=push, inputs=[model_name, where_to_upload, hf_token], outputs=[success_message_upload, result])
|
440 |
#Button to convert the model to ckpt format
|
441 |
convert_button.click(fn=convert_to_ckpt, inputs=[], outputs=result)
|
442 |
+
|
443 |
+
#Checks if the training is running
|
444 |
+
demo.load(fn=check_status,inputs=None, outputs=[top_description, try_your_model, push_to_hub, result, convert_button])
|
445 |
|
|
|
446 |
demo.launch(debug=True)
|