ariankhalfani commited on
Commit
2394e8b
1 Parent(s): e1f6aec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import time
4
  import streamlit as st
5
 
6
  # Get the Hugging Face API Token from environment variables
7
- HF_API_TOKEN = os.getenv("HF_API_TOKEN")
8
  if not HF_API_TOKEN:
9
  raise ValueError("Hugging Face API Token is not set in the environment variables.")
10
 
 
4
  import streamlit as st
5
 
6
  # Get the Hugging Face API Token from environment variables
7
+ HF_API_TOKEN = os.getenv("HF_API_KEY")
8
  if not HF_API_TOKEN:
9
  raise ValueError("Hugging Face API Token is not set in the environment variables.")
10