fffiloni commited on
Commit
881e5a4
1 Parent(s): 3775564

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -84,7 +84,15 @@ def main(dataset_id,
84
  checkpoint_steps,
85
  remove_gpu):
86
 
 
 
87
 
 
 
 
 
 
 
88
  if is_shared_ui:
89
  raise gr.Error("This Space only works in duplicated instances")
90
 
 
84
  checkpoint_steps,
85
  remove_gpu):
86
 
87
+ if dataset_id == "":
88
+ raise gr.Error("You forgot to specify an image dataset")
89
 
90
+ if instance_prompt == "":
91
+ raise gr.Error("You forgot to specify a concept prompt")
92
+
93
+ if lora_trained_xl_folder == "":
94
+ raise gr.Error("You forgot to name the output folder for your model")
95
+
96
  if is_shared_ui:
97
  raise gr.Error("This Space only works in duplicated instances")
98