Kvikontent commited on
Commit
50ce01a
·
verified ·
1 Parent(s): f44bc37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"