Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -416,7 +416,6 @@ def parse_analyst_output(raw_output):
|
|
416 |
|
417 |
return key_insights, data_insights
|
418 |
|
419 |
-
|
420 |
# Main Execution Block
|
421 |
if st.button("Generate Patent Insights"):
|
422 |
with st.spinner('Processing...'):
|
@@ -506,4 +505,4 @@ if st.button("Generate Patent Insights"):
|
|
506 |
except Exception as e:
|
507 |
error_message = traceback.format_exc()
|
508 |
logging.error(f"An error occurred during execution:\n{error_message}")
|
509 |
-
st.error(f"⚠️ An unexpected error occurred:\n{e}")
|
|
|
416 |
|
417 |
return key_insights, data_insights
|
418 |
|
|
|
419 |
# Main Execution Block
|
420 |
if st.button("Generate Patent Insights"):
|
421 |
with st.spinner('Processing...'):
|
|
|
505 |
except Exception as e:
|
506 |
error_message = traceback.format_exc()
|
507 |
logging.error(f"An error occurred during execution:\n{error_message}")
|
508 |
+
st.error(f"⚠️ An unexpected error occurred:\n{e}")
|