Spaces:
Runtime error
Runtime error
Commit
·
7c9f5a6
1
Parent(s):
9e939e7
Add answer to display
Browse files
app.py
CHANGED
@@ -121,6 +121,9 @@ question = col2.text_input(label="Question", value=state.question)
|
|
121 |
col2.markdown(
|
122 |
f"""**English Translation**: {question if state.question_lang_id == "en" else translate(question, 'en')}"""
|
123 |
)
|
|
|
|
|
|
|
124 |
question_inputs = get_text_attributes(question)
|
125 |
|
126 |
# Select Language
|
|
|
121 |
col2.markdown(
|
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 |
|
129 |
# Select Language
|