Spaces:
Sleeping
Sleeping
Download gr.py from abdelkader9090/analysis: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/spaces/abdelkader9090/analysis/resolve/main/gr.py
- Command line
-
hf download hf://spaces/abdelkader9090/analysis/gr.py
-
curl -L -o gr.py https://huggingface.co/spaces/abdelkader9090/analysis/resolve/main/gr.py
559 Bytes
| from gradio_client import Client, handle_file | |
| client = Client("frogleo/Image-to-3D") | |
| result = client.predict( | |
| image=handle_file( | |
| r"C:\Users\zbook 17 g3\Desktop\15.05.2026_10.37.20_REC.png" | |
| ), | |
| steps=5, | |
| guidance_scale=5.5, | |
| seed=1234, | |
| octree_resolution=256, | |
| num_chunks=8000, | |
| target_face_num=10000, | |
| randomize_seed=True, | |
| api_name="/gen_shape" | |
| ) | |
| glb_url = "https://frogleo-image-to-3d.hf.space" + result[2] | |
| obj_url = "https://frogleo-image-to-3d.hf.space" + result[3] | |
| print("GLB:", glb_url) | |
| print("OBJ:", obj_url) |