Spaces:
Sleeping
Sleeping
token
Browse files
app.py
CHANGED
@@ -14,10 +14,11 @@ from upsampling import get_pipeline, upscale_image
|
|
14 |
|
15 |
import gradio as gr
|
16 |
|
17 |
-
from huggingface_hub import
|
18 |
|
19 |
-
|
20 |
-
|
|
|
21 |
|
22 |
# fix randomness
|
23 |
th.manual_seed(0)
|
|
|
14 |
|
15 |
import gradio as gr
|
16 |
|
17 |
+
from huggingface_hub import login
|
18 |
|
19 |
+
login(token='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')
|
20 |
+
# HF_TOKEN = os.getenv('HF_TOKEN')
|
21 |
+
# hf_api = HfApi(token=HF_TOKEN)
|
22 |
|
23 |
# fix randomness
|
24 |
th.manual_seed(0)
|