Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ if page == 'Review Analysis':
|
|
62 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
63 |
|
64 |
# Add this in the part of your Streamlit app where the user can select the model
|
65 |
-
models = ["gpt-3.5-turbo",
|
66 |
selected_model = st.selectbox("Choose a model:", models)
|
67 |
|
68 |
user_char_limit = st.number_input("Enter character limit for chunk:", value=9000, step=500)
|
@@ -291,7 +291,7 @@ if page == 'Feature Benefits':
|
|
291 |
# prompt = st.text_area("Edit the prompt:", value=default_prompt, height=200)
|
292 |
|
293 |
# Add this in the part of your Streamlit app where the user can select the model
|
294 |
-
models = ["gpt-3.5-turbo",
|
295 |
selected_model = st.selectbox("Choose a model:", models)
|
296 |
|
297 |
# Extract sheet ID from URL
|
@@ -494,7 +494,7 @@ if page == 'Identify Avatars':
|
|
494 |
sheet = gc.open_by_key(sheet_id)
|
495 |
|
496 |
# Add this in the part of your Streamlit app where the user can select the model
|
497 |
-
models = ["gpt-3.5-turbo",
|
498 |
selected_model = st.selectbox("Choose a model:", models)
|
499 |
|
500 |
|
@@ -647,7 +647,7 @@ if page == 'Tone of Voice Manual':
|
|
647 |
sheet = gc.open_by_key(sheet_id)
|
648 |
|
649 |
# Add this in the part of your Streamlit app where the user can select the model
|
650 |
-
models = ["gpt-3.5-turbo",
|
651 |
selected_model = st.selectbox("Choose a model:", models)
|
652 |
|
653 |
# Add the prompt
|
@@ -776,7 +776,7 @@ if page == 'review summary':
|
|
776 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
777 |
|
778 |
# Add this in the part of your Streamlit app where the user can select the model
|
779 |
-
models = ["gpt-3.5-turbo",
|
780 |
selected_model = st.selectbox("Choose a model:", models)
|
781 |
|
782 |
# Set default prompts
|
@@ -1191,7 +1191,7 @@ if page == 'question_answers':
|
|
1191 |
|
1192 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1193 |
|
1194 |
-
models = ["gpt-3.5-turbo",
|
1195 |
selected_model = st.selectbox("Choose a model:", models)
|
1196 |
|
1197 |
# Extract sheet ID from URL
|
@@ -1266,7 +1266,7 @@ if page == 'feature_mapping':
|
|
1266 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1267 |
|
1268 |
# Add this in the part of your Streamlit app where the user can select the model
|
1269 |
-
models = ["gpt-3.5-turbo",
|
1270 |
selected_model = st.selectbox("Choose a model:", models)
|
1271 |
|
1272 |
# Extract sheet ID from URL
|
@@ -1390,7 +1390,7 @@ if page == 'benefit_mapping':
|
|
1390 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1391 |
|
1392 |
# Add this in the part of your Streamlit app where the user can select the model
|
1393 |
-
models = ["gpt-3.5-turbo",
|
1394 |
selected_model = st.selectbox("Choose a model:", models)
|
1395 |
|
1396 |
# Extract sheet ID from URL
|
@@ -1608,7 +1608,7 @@ def page_combined_features_and_benefits():
|
|
1608 |
for url in sheet_urls:
|
1609 |
st.write(url)
|
1610 |
|
1611 |
-
models = ["gpt-3.5-turbo",
|
1612 |
selected_model = st.selectbox("Choose a model:", models)
|
1613 |
|
1614 |
user_char_limit = st.number_input("Enter character limit for chunk:", value=9000, step=500)
|
|
|
62 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
63 |
|
64 |
# Add this in the part of your Streamlit app where the user can select the model
|
65 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
66 |
selected_model = st.selectbox("Choose a model:", models)
|
67 |
|
68 |
user_char_limit = st.number_input("Enter character limit for chunk:", value=9000, step=500)
|
|
|
291 |
# prompt = st.text_area("Edit the prompt:", value=default_prompt, height=200)
|
292 |
|
293 |
# Add this in the part of your Streamlit app where the user can select the model
|
294 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
295 |
selected_model = st.selectbox("Choose a model:", models)
|
296 |
|
297 |
# Extract sheet ID from URL
|
|
|
494 |
sheet = gc.open_by_key(sheet_id)
|
495 |
|
496 |
# Add this in the part of your Streamlit app where the user can select the model
|
497 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
498 |
selected_model = st.selectbox("Choose a model:", models)
|
499 |
|
500 |
|
|
|
647 |
sheet = gc.open_by_key(sheet_id)
|
648 |
|
649 |
# Add this in the part of your Streamlit app where the user can select the model
|
650 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
651 |
selected_model = st.selectbox("Choose a model:", models)
|
652 |
|
653 |
# Add the prompt
|
|
|
776 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
777 |
|
778 |
# Add this in the part of your Streamlit app where the user can select the model
|
779 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
780 |
selected_model = st.selectbox("Choose a model:", models)
|
781 |
|
782 |
# Set default prompts
|
|
|
1191 |
|
1192 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1193 |
|
1194 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
1195 |
selected_model = st.selectbox("Choose a model:", models)
|
1196 |
|
1197 |
# Extract sheet ID from URL
|
|
|
1266 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1267 |
|
1268 |
# Add this in the part of your Streamlit app where the user can select the model
|
1269 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
1270 |
selected_model = st.selectbox("Choose a model:", models)
|
1271 |
|
1272 |
# Extract sheet ID from URL
|
|
|
1390 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
1391 |
|
1392 |
# Add this in the part of your Streamlit app where the user can select the model
|
1393 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
1394 |
selected_model = st.selectbox("Choose a model:", models)
|
1395 |
|
1396 |
# Extract sheet ID from URL
|
|
|
1608 |
for url in sheet_urls:
|
1609 |
st.write(url)
|
1610 |
|
1611 |
+
models = ["gpt-3.5-turbo","gpt-4-0125-preview", "gpt-3.5-turbo-0125" ]
|
1612 |
selected_model = st.selectbox("Choose a model:", models)
|
1613 |
|
1614 |
user_char_limit = st.number_input("Enter character limit for chunk:", value=9000, step=500)
|