Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import requests
|
|
8 |
from translatepy import Translator
|
9 |
|
10 |
translator = Translator()
|
11 |
-
|
12 |
# Constants
|
13 |
model = "stabilityai/stable-diffusion-3-medium"
|
14 |
vae_model = "madebyollin/sdxl-vae-fp16-fix"
|
|
|
8 |
from translatepy import Translator
|
9 |
|
10 |
translator = Translator()
|
11 |
+
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
12 |
# Constants
|
13 |
model = "stabilityai/stable-diffusion-3-medium"
|
14 |
vae_model = "madebyollin/sdxl-vae-fp16-fix"
|