Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -332,8 +332,9 @@ def main():
|
|
332 |
st.write('Reasoning with your inputs...')
|
333 |
#response = chat_with_file_contents(user_prompt, file_contents)
|
334 |
response = chat_with_model(user_prompt, file_contents, model_choice)
|
335 |
-
st.write('Response:')
|
336 |
-
st.write(response)
|
|
|
337 |
filename = generate_filename(file_content_area, choice)
|
338 |
create_file(filename, file_content_area, response)
|
339 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
|
|
332 |
st.write('Reasoning with your inputs...')
|
333 |
#response = chat_with_file_contents(user_prompt, file_contents)
|
334 |
response = chat_with_model(user_prompt, file_contents, model_choice)
|
335 |
+
#st.write('Response:')
|
336 |
+
#st.write(response)
|
337 |
+
|
338 |
filename = generate_filename(file_content_area, choice)
|
339 |
create_file(filename, file_content_area, response)
|
340 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|