Mary12 commited on
Commit
33b63e4
·
1 Parent(s): 0304d73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def qa_result(context, question, file_path):
61
  answered = result['answer']
62
  text = remove_references(answered)
63
  text = text.replace('(', '', 1)
 
64
  return text.capitalize()
65
 
66
  theme = gr.themes.Soft().set(
 
61
  answered = result['answer']
62
  text = remove_references(answered)
63
  text = text.replace('(', '', 1)
64
+ text = text.replace(',', '', len(text)-1)
65
  return text.capitalize()
66
 
67
  theme = gr.themes.Soft().set(