multimodalart HF staff commited on
Commit
e57a646
1 Parent(s): 27c12cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -340,7 +340,7 @@ git+https://github.com/huggingface/datasets.git@3f149204a2a5948287adcade5e90707a
340
  ## - Training Status: <a href='https://huggingface.co/spaces/{username}/autotrain-{slugged_lora_name}?logs=container'>{username}/autotrain-{slugged_lora_name}</a> <small>(in the logs tab)</small>
341
  ## - Model page: <a href='https://huggingface.co/{username}/{slugged_lora_name}'>{username}/{slugged_lora_name}</a> <small>(will be available when training finishes)</small>"""
342
  else:
343
- raise gr.Error("Something went wrong. Make sure the name of your LoRA is unique and try again")
344
 
345
  def calculate_price(iterations, with_prior_preservation):
346
  if(with_prior_preservation):
 
340
  ## - Training Status: <a href='https://huggingface.co/spaces/{username}/autotrain-{slugged_lora_name}?logs=container'>{username}/autotrain-{slugged_lora_name}</a> <small>(in the logs tab)</small>
341
  ## - Model page: <a href='https://huggingface.co/{username}/{slugged_lora_name}'>{username}/{slugged_lora_name}</a> <small>(will be available when training finishes)</small>"""
342
  else:
343
+ raise gr.Error("Something went wrong. Make sure the name of your LoRA is unique and try again. Error: ", outcome.stderr)
344
 
345
  def calculate_price(iterations, with_prior_preservation):
346
  if(with_prior_preservation):