Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ with st.sidebar:
|
|
20 |
os.environ['REPLICATE_API_TOKEN'] = replicate_api
|
21 |
|
22 |
st.subheader('Models and parameters')
|
23 |
-
selected_model = st.sidebar.selectbox('Choose a Meta Llama model', ['Llama2-7B', 'Llama2-13B', 'Llama3-8B-Instruct', 'Llama3-70B-
|
24 |
if selected_model == 'Llama2-7B':
|
25 |
llm = 'meta/llama-2-7b-chat'
|
26 |
elif selected_model == 'Llama2-13B':
|
|
|
20 |
os.environ['REPLICATE_API_TOKEN'] = replicate_api
|
21 |
|
22 |
st.subheader('Models and parameters')
|
23 |
+
selected_model = st.sidebar.selectbox('Choose a Meta Llama model', ['Llama2-7B', 'Llama2-13B', 'Llama3-8B-Instruct', 'Llama3-70B-Instruct'], key='selected_model')
|
24 |
if selected_model == 'Llama2-7B':
|
25 |
llm = 'meta/llama-2-7b-chat'
|
26 |
elif selected_model == 'Llama2-13B':
|