Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,7 +265,8 @@ def main():
|
|
| 265 |
if next_action=='search':
|
| 266 |
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
| 267 |
st.write('Reasoning with your inputs...')
|
| 268 |
-
response = chat_with_file_contents(user_prompt, file_contents)
|
|
|
|
| 269 |
st.write('Response:')
|
| 270 |
st.write(response)
|
| 271 |
filename = generate_filename(file_content_area, choice)
|
|
|
|
| 265 |
if next_action=='search':
|
| 266 |
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
| 267 |
st.write('Reasoning with your inputs...')
|
| 268 |
+
#response = chat_with_file_contents(user_prompt, file_contents)
|
| 269 |
+
response = chat_with_model(user_prompt, file_contents, model_choice)
|
| 270 |
st.write('Response:')
|
| 271 |
st.write(response)
|
| 272 |
filename = generate_filename(file_content_area, choice)
|