Update myapp.py
Browse files
myapp.py
CHANGED
@@ -10,7 +10,7 @@ CORS(myapp)
|
|
10 |
|
11 |
# Your Hugging Face API Token
|
12 |
|
13 |
-
|
14 |
# Initialize the Inference Client
|
15 |
client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=HF_TOKEN)
|
16 |
|
|
|
10 |
|
11 |
# Your Hugging Face API Token
|
12 |
|
13 |
+
HF_TOKEN = os.environ.get("HF_TOKEN")
|
14 |
# Initialize the Inference Client
|
15 |
client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=HF_TOKEN)
|
16 |
|