Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,10 @@ from diffusers import StableDiffusionPipeline
|
|
| 3 |
import torch
|
| 4 |
from PIL import Image
|
| 5 |
import io
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Load the Stable Fast 3D model
|
| 8 |
model_id = "stabilityai/stable-fast-3d"
|
|
|
|
| 3 |
import torch
|
| 4 |
from PIL import Image
|
| 5 |
import io
|
| 6 |
+
from huggingface_hub import login
|
| 7 |
+
|
| 8 |
+
# Authenticate with Hugging Face
|
| 9 |
+
login(token="your_huggingface_token_here")
|
| 10 |
|
| 11 |
# Load the Stable Fast 3D model
|
| 12 |
model_id = "stabilityai/stable-fast-3d"
|