Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -311,7 +311,8 @@ def FileSidebar():
|
|
| 311 |
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
| 312 |
try:
|
| 313 |
if st.button("🔍", key="filecontentssearch"):
|
| 314 |
-
search_glossary(file_content_area)
|
|
|
|
| 315 |
except:
|
| 316 |
st.markdown('GPT is sleeping. Restart ETA 30 seconds.')
|
| 317 |
|
|
|
|
| 311 |
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
| 312 |
try:
|
| 313 |
if st.button("🔍", key="filecontentssearch"):
|
| 314 |
+
#search_glossary(file_content_area)
|
| 315 |
+
chat_with_model(PromptPrefix + file_content_area )
|
| 316 |
except:
|
| 317 |
st.markdown('GPT is sleeping. Restart ETA 30 seconds.')
|
| 318 |
|