multimodalart HF staff commited on
Commit
8d5897b
1 Parent(s): 85326dd

Update app_training.py

Browse files
Files changed (1) hide show
  1. app_training.py +3 -3
app_training.py CHANGED
@@ -77,9 +77,6 @@ def create_training_demo(trainer: Trainer,
77
  placeholder='The surfer man',
78
  max_lines=1)
79
  validation_prompt = gr.Text(label='Validation Prompt', placeholder='prompt to test the model, e.g: a dog is surfing')
80
- delete_existing_model = gr.Checkbox(
81
- label='Delete existing model of the same name',
82
- value=False)
83
  with gr.Column():
84
  gr.Markdown('Upload Settings')
85
  with gr.Row():
@@ -94,6 +91,9 @@ def create_training_demo(trainer: Trainer,
94
  label='Upload to',
95
  choices=[_.value for _ in UploadTarget],
96
  value=UploadTarget.MODEL_LIBRARY.value)
 
 
 
97
 
98
  remove_gpu_after_training = gr.Checkbox(
99
  label='Remove GPU after training',
 
77
  placeholder='The surfer man',
78
  max_lines=1)
79
  validation_prompt = gr.Text(label='Validation Prompt', placeholder='prompt to test the model, e.g: a dog is surfing')
 
 
 
80
  with gr.Column():
81
  gr.Markdown('Upload Settings')
82
  with gr.Row():
 
91
  label='Upload to',
92
  choices=[_.value for _ in UploadTarget],
93
  value=UploadTarget.MODEL_LIBRARY.value)
94
+ delete_existing_model = gr.Checkbox(
95
+ label='Delete existing model of the same name',
96
+ value=False)
97
 
98
  remove_gpu_after_training = gr.Checkbox(
99
  label='Remove GPU after training',