Sakshi commited on
Commit
fd15458
·
1 Parent(s): e249315

cleaned xml tags in response display

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import os
 
2
 
3
  import streamlit as st
4
 
@@ -62,7 +63,7 @@ def main():
62
  # Store results
63
  all_analyses.append({
64
  'name': uploaded_file.name,
65
- 'analysis' : analysis,
66
  'suggestion' : suggestion
67
  })
68
 
 
1
  import os
2
+ import re
3
 
4
  import streamlit as st
5
 
 
63
  # Store results
64
  all_analyses.append({
65
  'name': uploaded_file.name,
66
+ 'analysis' : re.sub(r'\<\/?(GOOD|AVERAGE|BAD|FINAL_VERDICT)\>', '', analysis),
67
  'suggestion' : suggestion
68
  })
69