Spaces:
Runtime error
Runtime error
Commit
·
c1d6f67
1
Parent(s):
2be6eb1
Changes
Browse files
app.py
CHANGED
|
@@ -7,11 +7,11 @@ from torch import autocast
|
|
| 7 |
from diffusers import StableDiffusionPipeline, DDIMScheduler, DiffusionPipeline
|
| 8 |
import streamlit as st
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
# HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
|
| 17 |
# model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
|
|
|
|
| 7 |
from diffusers import StableDiffusionPipeline, DDIMScheduler, DiffusionPipeline
|
| 8 |
import streamlit as st
|
| 9 |
|
| 10 |
+
from huggingface_hub import login
|
| 11 |
|
| 12 |
# HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 13 |
|
| 14 |
+
login()
|
| 15 |
|
| 16 |
|
| 17 |
# model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
|