Spaces:
Sleeping
Sleeping
Commit
·
e59044b
1
Parent(s):
a71cc4a
replaced openai with hf
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import subprocess
|
|
3 |
import streamlit as st
|
4 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, AutoConfig, AutoModel
|
5 |
|
|
|
6 |
HUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/DevToolKit"
|
7 |
PROJECT_ROOT = "projects"
|
8 |
AGENT_DIRECTORY = "agents"
|
|
|
3 |
import streamlit as st
|
4 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer, AutoConfig, AutoModel
|
5 |
|
6 |
+
HF_TOKEN = os.getenv("HF_TOKEN")
|
7 |
HUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/DevToolKit"
|
8 |
PROJECT_ROOT = "projects"
|
9 |
AGENT_DIRECTORY = "agents"
|