Spaces:
Runtime error
Runtime error
gchhablani
commited on
Commit
•
633435a
1
Parent(s):
7c9f5a6
Improve answer display
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ col2.markdown(
|
|
122 |
f"""**English Translation**: {question if state.question_lang_id == "en" else translate(question, 'en')}"""
|
123 |
)
|
124 |
|
125 |
-
col2.markdown("Actual Answer
|
126 |
|
127 |
question_inputs = get_text_attributes(question)
|
128 |
|
|
|
122 |
f"""**English Translation**: {question if state.question_lang_id == "en" else translate(question, 'en')}"""
|
123 |
)
|
124 |
|
125 |
+
col2.markdown("**Actual Answer**: " + answer_reverse_mapping[str(state.answer_label)])
|
126 |
|
127 |
question_inputs = get_text_attributes(question)
|
128 |
|