LightRT commited on
Commit
036c239
·
verified ·
1 Parent(s): 029bf9e

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -0
src/streamlit_app.py CHANGED
@@ -2,6 +2,9 @@ import streamlit as st
2
  import requests
3
  import uuid
4
  import os
 
 
 
5
 
6
  # Grab the token from Hugging Face secrets
7
  HF_TOKEN = os.getenv("HF_TOKEN")
 
2
  import requests
3
  import uuid
4
  import os
5
+ from dotenv import load_dotenv
6
+
7
+ load_dotenv()
8
 
9
  # Grab the token from Hugging Face secrets
10
  HF_TOKEN = os.getenv("HF_TOKEN")