Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import os
|
3 |
|
4 |
hf_token = os.environ("API_TOKEN")
|
|
|
5 |
API_URL_FACE = "https://api-inference.huggingface.co/models/prompthero/linkedin-diffusion"
|
6 |
API_URL_PIX = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
7 |
API_URL_3D = "https://api-inference.huggingface.co/models/goofyai/3d_render_style_xl"
|
|
|
2 |
import os
|
3 |
|
4 |
hf_token = os.environ("API_TOKEN")
|
5 |
+
headers = {"Authorization": f"Bearer {hf_token}"}
|
6 |
API_URL_FACE = "https://api-inference.huggingface.co/models/prompthero/linkedin-diffusion"
|
7 |
API_URL_PIX = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
8 |
API_URL_3D = "https://api-inference.huggingface.co/models/goofyai/3d_render_style_xl"
|