Shreyas094 commited on
Commit
4469e9d
·
verified ·
1 Parent(s): 5090140

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import shutil
10
  import tempfile
11
  load_dotenv() # Load environment variables from .env file
12
  # Now replace the hard-coded token with the environment variable
13
- HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
14
  def clear_cache():
15
  try:
16
  # Clear Gradio cache
 
10
  import tempfile
11
  load_dotenv() # Load environment variables from .env file
12
  # Now replace the hard-coded token with the environment variable
13
+ HUGGINGFACE_API_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
14
  def clear_cache():
15
  try:
16
  # Clear Gradio cache