Maikou commited on
Commit
3c5364b
1 Parent(s): afbd57f
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -369,6 +369,7 @@ with gr.Blocks() as app:
369
  img.upload(disable_cache, outputs=cache_dir)
370
  examples.select(set_cache, outputs=[img, cache_dir])
371
  print(os.path.abspath(os.path.dirname(__file__)))
 
372
  print(model_path)
373
  print(f'line:404: {cache_dir}')
374
  btn_generate_img2obj.click(image2mesh, inputs=[img, image_dropdown_models, num_samples,
 
369
  img.upload(disable_cache, outputs=cache_dir)
370
  examples.select(set_cache, outputs=[img, cache_dir])
371
  print(os.path.abspath(os.path.dirname(__file__)))
372
+ model_path = snapshot_download(repo_id="Maikou/Michelangelo/tree/main/checkpoints")
373
  print(model_path)
374
  print(f'line:404: {cache_dir}')
375
  btn_generate_img2obj.click(image2mesh, inputs=[img, image_dropdown_models, num_samples,