Spaces:
Runtime error
Runtime error
Update src/v2_for_hf.py
Browse files- src/v2_for_hf.py +0 -4
src/v2_for_hf.py
CHANGED
|
@@ -8,10 +8,6 @@ import torch
|
|
| 8 |
from PIL import Image
|
| 9 |
import os
|
| 10 |
|
| 11 |
-
from huggingface_hub import login
|
| 12 |
-
with open("key.txt", "r") as f:
|
| 13 |
-
login(token=f.read().strip())
|
| 14 |
-
|
| 15 |
# Modfiy this to change the number of generations
|
| 16 |
NUM_GEN = 2
|
| 17 |
|
|
|
|
| 8 |
from PIL import Image
|
| 9 |
import os
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Modfiy this to change the number of generations
|
| 12 |
NUM_GEN = 2
|
| 13 |
|