Spaces:
Build error
Build error
Commit
·
cdb912a
1
Parent(s):
895a7ca
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,9 @@ st.set_page_config(page_title="Chat Toolkit",layout="wide")
|
|
| 21 |
|
| 22 |
menu = ["htm", "txt", "xlsx", "csv", "md", "py"] #619
|
| 23 |
choice = st.sidebar.selectbox("Output File Type:", menu)
|
| 24 |
-
model_choice = st.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301', 'gpt-4'))
|
|
|
|
|
|
|
| 25 |
|
| 26 |
def generate_filename(prompt, file_type):
|
| 27 |
central = pytz.timezone('US/Central')
|
|
|
|
| 21 |
|
| 22 |
menu = ["htm", "txt", "xlsx", "csv", "md", "py"] #619
|
| 23 |
choice = st.sidebar.selectbox("Output File Type:", menu)
|
| 24 |
+
model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301', 'gpt-4'))
|
| 25 |
+
# default
|
| 26 |
+
model_choice = 'gpt-3.5-turbo'
|
| 27 |
|
| 28 |
def generate_filename(prompt, file_type):
|
| 29 |
central = pytz.timezone('US/Central')
|