Spaces:
Runtime error
Runtime error
georgekutty george
commited on
Commit
·
22177c2
1
Parent(s):
b970bda
lkspace
Browse files
app.py
CHANGED
|
@@ -7,9 +7,8 @@ from huggingface_hub import login
|
|
| 7 |
|
| 8 |
# 3. Login to Hugging Face (replace YOUR_HF_TOKEN with your actual token)
|
| 9 |
|
| 10 |
-
hf_token = os.environ.get("HF_TOKEN")
|
| 11 |
|
| 12 |
-
login(token=
|
| 13 |
|
| 14 |
# 4. Load private model using your token
|
| 15 |
model_id = "Lookingsoft-team/Text_to_Image_Diffusion"
|
|
|
|
| 7 |
|
| 8 |
# 3. Login to Hugging Face (replace YOUR_HF_TOKEN with your actual token)
|
| 9 |
|
|
|
|
| 10 |
|
| 11 |
+
login(token=os.getenv("HF_TOKEN"))
|
| 12 |
|
| 13 |
# 4. Load private model using your token
|
| 14 |
model_id = "Lookingsoft-team/Text_to_Image_Diffusion"
|