Spaces:
Configuration error
Configuration error
truevis commited on
Commit ·
56cd044
1
Parent(s): 67dc319
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ st.set_page_config(
|
|
| 94 |
page_title="HUD Assistant",
|
| 95 |
page_icon="property-icon.ico",
|
| 96 |
layout="wide",
|
| 97 |
-
initial_sidebar_state="
|
| 98 |
)
|
| 99 |
|
| 100 |
|
|
@@ -290,7 +290,7 @@ if user_prompt := st.chat_input("What can I help you with about HUD?"):
|
|
| 290 |
try:
|
| 291 |
response = st.write_stream(generate_response(user_prompt))
|
| 292 |
message = f"hud,anon,r,{response[:200]}"
|
| 293 |
-
print(message)
|
| 294 |
level = "INFO"
|
| 295 |
log_to_firestore("docmind-421208", message, level)
|
| 296 |
# If no exception occurred, append the response to the messages
|
|
|
|
| 94 |
page_title="HUD Assistant",
|
| 95 |
page_icon="property-icon.ico",
|
| 96 |
layout="wide",
|
| 97 |
+
initial_sidebar_state="auto"
|
| 98 |
)
|
| 99 |
|
| 100 |
|
|
|
|
| 290 |
try:
|
| 291 |
response = st.write_stream(generate_response(user_prompt))
|
| 292 |
message = f"hud,anon,r,{response[:200]}"
|
| 293 |
+
# print(message)
|
| 294 |
level = "INFO"
|
| 295 |
log_to_firestore("docmind-421208", message, level)
|
| 296 |
# If no exception occurred, append the response to the messages
|