Maikou commited on
Commit
3b5e341
1 Parent(s): 3c5364b
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -368,10 +368,10 @@ with gr.Blocks() as app:
368
 
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,
376
  guidance_scale, octree_depth],
377
  outputs=outputs, api_name="generate_img2obj")
 
368
 
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__)), flush=True)
372
  model_path = snapshot_download(repo_id="Maikou/Michelangelo/tree/main/checkpoints")
373
+ print(model_path, flush=True)
374
+ print(f'line:404: {cache_dir}', flush=True)
375
  btn_generate_img2obj.click(image2mesh, inputs=[img, image_dropdown_models, num_samples,
376
  guidance_scale, octree_depth],
377
  outputs=outputs, api_name="generate_img2obj")