Spaces:
Build error
Build error
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
-
from
|
3 |
-
from
|
4 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
5 |
import os
|
6 |
import subprocess
|
@@ -18,7 +18,7 @@ hf_token = st.secrets["hf_token"]
|
|
18 |
if not hf_token:
|
19 |
st.error("Hugging Face API key not found. Please make sure it is set in the secrets.")
|
20 |
|
21 |
-
HUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/
|
22 |
PROJECT_ROOT = "projects"
|
23 |
AGENT_DIRECTORY = "agents"
|
24 |
AVAILABLE_CODE_GENERATIVE_MODELS = ["bigcode/starcoder", "Salesforce/codegen-350M-mono", "microsoft/CodeGPT-small"]
|
|
|
1 |
import streamlit as st
|
2 |
+
from streamlit-ace import st-ace
|
3 |
+
from streamlit-jupyter import st-jupyter
|
4 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
5 |
import os
|
6 |
import subprocess
|
|
|
18 |
if not hf_token:
|
19 |
st.error("Hugging Face API key not found. Please make sure it is set in the secrets.")
|
20 |
|
21 |
+
HUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/0shotTest"
|
22 |
PROJECT_ROOT = "projects"
|
23 |
AGENT_DIRECTORY = "agents"
|
24 |
AVAILABLE_CODE_GENERATIVE_MODELS = ["bigcode/starcoder", "Salesforce/codegen-350M-mono", "microsoft/CodeGPT-small"]
|