Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,7 +188,7 @@ def chat_with_file_contents(prompt, file_content, model_choice='gpt-3.5-turbo'):
|
|
188 |
def main():
|
189 |
# Sidebar and global
|
190 |
openai.api_key = os.getenv('OPENAI_KEY')
|
191 |
-
st.set_page_config(page_title="GPT Streamlit Document Reasoner",layout="wide")
|
192 |
menu = ["htm", "txt", "xlsx", "csv", "md", "py"] #619
|
193 |
choice = st.sidebar.selectbox("Output File Type:", menu)
|
194 |
model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
|
|
|
188 |
def main():
|
189 |
# Sidebar and global
|
190 |
openai.api_key = os.getenv('OPENAI_KEY')
|
191 |
+
#st.set_page_config(page_title="GPT Streamlit Document Reasoner",layout="wide")
|
192 |
menu = ["htm", "txt", "xlsx", "csv", "md", "py"] #619
|
193 |
choice = st.sidebar.selectbox("Output File Type:", menu)
|
194 |
model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
|