Spaces:
Runtime error
Runtime error
Commit
•
85326dd
1
Parent(s):
bff9121
Update app_training.py
Browse files- app_training.py +1 -2
app_training.py
CHANGED
@@ -24,10 +24,8 @@ def create_training_demo(trainer: Trainer,
|
|
24 |
label='Training prompt',
|
25 |
max_lines=1,
|
26 |
placeholder='A man is surfing')
|
27 |
-
validation_prompt = gr.Text(label='Validation Prompt', placeholder='a dog is surfing')
|
28 |
gr.Markdown('''
|
29 |
- Upload a video and write a `Training Prompt` that describes the video.
|
30 |
-
- The validation prompt should modify your `Training Prompt` in order to validate the model
|
31 |
''')
|
32 |
|
33 |
with gr.Column():
|
@@ -78,6 +76,7 @@ def create_training_demo(trainer: Trainer,
|
|
78 |
output_model_name = gr.Text(label='Name of your model',
|
79 |
placeholder='The surfer man',
|
80 |
max_lines=1)
|
|
|
81 |
delete_existing_model = gr.Checkbox(
|
82 |
label='Delete existing model of the same name',
|
83 |
value=False)
|
|
|
24 |
label='Training prompt',
|
25 |
max_lines=1,
|
26 |
placeholder='A man is surfing')
|
|
|
27 |
gr.Markdown('''
|
28 |
- Upload a video and write a `Training Prompt` that describes the video.
|
|
|
29 |
''')
|
30 |
|
31 |
with gr.Column():
|
|
|
76 |
output_model_name = gr.Text(label='Name of your model',
|
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)
|