acecalisto3 commited on
Commit
ddd08c4
·
verified ·
1 Parent(s): f3dfbf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import streamlit as st
2
  import os
3
  import subprocess
4
- from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, HfApi
 
5
 
6
  # Set your Hugging Face API key here
7
- hf_token = "YOUR_HUGGING_FACE_API_KEY" # Replace with your actual token
8
 
9
  PROJECT_ROOT = "projects"
10
  AGENT_DIRECTORY = "agents"
 
1
  import streamlit as st
2
  import os
3
  import subprocess
4
+ from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
5
+ from huggingface_hub import HfApi
6
 
7
  # Set your Hugging Face API key here
8
+ huggingface_token = "YOUR_HUGGING_FACE_API_KEY" # Replace with your actual token
9
 
10
  PROJECT_ROOT = "projects"
11
  AGENT_DIRECTORY = "agents"