Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -30,14 +30,16 @@ if st.session_state.get('conversation_history'):
|
|
30 |
# Title
|
31 |
st.title('Culture AI v.0.1')
|
32 |
|
|
|
|
|
|
|
33 |
# Model selection
|
34 |
model_name = st.selectbox('Choose a model:', [
|
35 |
'mistralai/Mistral-7B-Instruct-v0.1',
|
36 |
'meta-llama/Meta-Llama-3–8B',
|
37 |
'microsoft/Phi-3-mini-4k-instruct',
|
38 |
'microsoft/phi-1_5',
|
39 |
-
'speakleash/Bielik-11B-v2.3-Instruct'
|
40 |
-
# Add more models as needed
|
41 |
])
|
42 |
|
43 |
# Upload dataset
|
|
|
30 |
# Title
|
31 |
st.title('Culture AI v.0.1')
|
32 |
|
33 |
+
# Get the Hugging Face access token from the environment variable
|
34 |
+
HF_TOKEN = os.getenv("HF_TOKEN")
|
35 |
+
|
36 |
# Model selection
|
37 |
model_name = st.selectbox('Choose a model:', [
|
38 |
'mistralai/Mistral-7B-Instruct-v0.1',
|
39 |
'meta-llama/Meta-Llama-3–8B',
|
40 |
'microsoft/Phi-3-mini-4k-instruct',
|
41 |
'microsoft/phi-1_5',
|
42 |
+
'speakleash/Bielik-11B-v2.3-Instruct', # Add your private model here
|
|
|
43 |
])
|
44 |
|
45 |
# Upload dataset
|