Spaces:
Sleeping
Sleeping
File size: 739 Bytes
427b835 40d6c86 427b835 40d6c86 427b835 ce4c1d3 ee9e7ab 82962fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
title: Matgen
emoji: 🖼
colorFrom: purple
colorTo: red
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
license: mit
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## setup locally
conda create -n matgen python=3.11
conda activate matgen
pip install diffusers["torch"] transformers accelerate xformers
pip install gradio
pip install controlnet-aux
## local authen
huggingface-cli login
## on using Huggingface ZeroGPU
need to import spaces and the corresponding decorator
https://huggingface.co/docs/hub/spaces-zerogpu
also, check the usage of controlnet over zerogpu here: https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL/blob/main/app.py |