Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -4
src/streamlit_app.py
CHANGED
@@ -223,15 +223,14 @@ if generate_button:
|
|
223 |
## Instructions:
|
224 |
{text}
|
225 |
## Summary:
|
226 |
-
|
227 |
"""
|
228 |
-
complete_payment()
|
229 |
|
230 |
-
|
231 |
|
232 |
else:
|
233 |
response=respond_chat(text)
|
234 |
-
|
235 |
st.error(f"Error during code generation: {e}")
|
236 |
|
237 |
col1,col2=st.columns([2,1])
|
|
|
223 |
## Instructions:
|
224 |
{text}
|
225 |
## Summary:
|
226 |
+
{final_state['summary']}
|
227 |
"""
|
|
|
228 |
|
229 |
+
response=respond_chat(updated_text)
|
230 |
|
231 |
else:
|
232 |
response=respond_chat(text)
|
233 |
+
except Exception as e:
|
234 |
st.error(f"Error during code generation: {e}")
|
235 |
|
236 |
col1,col2=st.columns([2,1])
|