litagin commited on
Commit
446cc82
โ€ข
1 Parent(s): f699eaf

Change initial to jvnv-F1

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -390,7 +390,7 @@ if __name__ == "__main__":
390
  if len(model_names) == 0:
391
  logger.error(f"ใƒขใƒ‡ใƒซใŒ่ฆ‹ใคใ‹ใ‚Šใพใ›ใ‚“ใงใ—ใŸใ€‚{model_dir}ใซใƒขใƒ‡ใƒซใ‚’็ฝฎใ„ใฆใใ ใ•ใ„ใ€‚")
392
  sys.exit(1)
393
- initial_id = 1 if is_hf_spaces else 0
394
  initial_pth_files = model_holder.model_files_dict[model_names[initial_id]]
395
 
396
  with gr.Blocks(theme="NoCrypt/miku") as app:
 
390
  if len(model_names) == 0:
391
  logger.error(f"ใƒขใƒ‡ใƒซใŒ่ฆ‹ใคใ‹ใ‚Šใพใ›ใ‚“ใงใ—ใŸใ€‚{model_dir}ใซใƒขใƒ‡ใƒซใ‚’็ฝฎใ„ใฆใใ ใ•ใ„ใ€‚")
392
  sys.exit(1)
393
+ initial_id = 0
394
  initial_pth_files = model_holder.model_files_dict[model_names[initial_id]]
395
 
396
  with gr.Blocks(theme="NoCrypt/miku") as app: