Skip to content

Commit

Permalink
app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavGenAI authored Nov 6, 2024
1 parent e60e886 commit 794af71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def generate_compare_genAI(extracted_values, values_from_excel, keys_of_interest
try:
# Parse the cleaned response as JSON
comparison_results = json.loads(cleaned_response)
st.write(comparison_results)
return comparison_results
except json.JSONDecodeError:
st.error(f"Invalid JSON returned by AI: {cleaned_response}")
Expand Down

0 comments on commit 794af71

Please sign in to comment.