--- title: Sharp-It 3D Model Generator emoji: 🔮 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 4.13.0 app_file: app.py pinned: false python_version: 3.10.13 hf_oauth: false hardware: zerogpu --- # Sharp-It: 3D Model Generator This application generates 3D models from text prompts using Shap-E and refines them with InstantMesh. ## Features - Generate 3D models from text descriptions - Refine generated models with high-quality textures - Export to OBJ format for use in 3D applications ## How to Use 1. Enter a text prompt describing the 3D object you want to create 2. Adjust the generation parameters if needed 3. Click "Generate Views" to create the initial model 4. Enter a refinement prompt if you want to modify specific aspects 5. Click "Refine" to enhance the model 6. Download the resulting 3D mesh ## Technical Details This application uses: - Shap-E for initial 3D generation - InstantMesh for high-quality refinement - ZeroGPU for efficient GPU resource management ## Implementation Notes - PyTorch 2.0.1 compatibility is ensured through a custom patch (torch_patch.py) that enables newer diffusers versions to work with PyTorch 2.0.1 by adding placeholder attributes - Diffusers 0.24.0 is used as it provides the necessary functionality while being compatible with our patching approach Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference