Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ if st.session_state.read_file:
|
|
114 |
full_response = ''
|
115 |
continue
|
116 |
else:
|
117 |
-
prompt_message_placeholder.write(full_response)
|
118 |
except GraphRecursionError:
|
119 |
message = 'Não consegui responder a sua pergunta. 😥 Poderia me perguntar outra coisa?'
|
120 |
full_response = ''
|
@@ -123,4 +123,4 @@ if st.session_state.read_file:
|
|
123 |
time.sleep(0.015)
|
124 |
prompt_message_placeholder.write(full_response)
|
125 |
|
126 |
-
get_session_by_id('chat42').add_message(AIMessage(content=full_response))
|
|
|
114 |
full_response = ''
|
115 |
continue
|
116 |
else:
|
117 |
+
prompt_message_placeholder.write(full_response.replace('$', '\$'))
|
118 |
except GraphRecursionError:
|
119 |
message = 'Não consegui responder a sua pergunta. 😥 Poderia me perguntar outra coisa?'
|
120 |
full_response = ''
|
|
|
123 |
time.sleep(0.015)
|
124 |
prompt_message_placeholder.write(full_response)
|
125 |
|
126 |
+
get_session_by_id('chat42').add_message(AIMessage(content=full_response.replace('$', '\$')))
|