Change default values
Browse files- app_training.py +1 -2
app_training.py
CHANGED
@@ -37,8 +37,7 @@ def create_training_demo(trainer: Trainer,
|
|
37 |
gr.Markdown('Upload Settings')
|
38 |
with gr.Row():
|
39 |
upload_to_hub = gr.Checkbox(
|
40 |
-
label='Upload model to Hub',
|
41 |
-
value=bool(os.getenv('SPACE_ID')))
|
42 |
use_private_repo = gr.Checkbox(label='Private',
|
43 |
value=True)
|
44 |
delete_existing_repo = gr.Checkbox(
|
|
|
37 |
gr.Markdown('Upload Settings')
|
38 |
with gr.Row():
|
39 |
upload_to_hub = gr.Checkbox(
|
40 |
+
label='Upload model to Hub', value=True)
|
|
|
41 |
use_private_repo = gr.Checkbox(label='Private',
|
42 |
value=True)
|
43 |
delete_existing_repo = gr.Checkbox(
|