Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|