Spaces:
Paused
Paused
Carlosito16
commited on
Commit
•
2f51f5c
1
Parent(s):
6feca5f
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def new_retrieve_answer():
|
|
148 |
|
149 |
st.session_state.my_text_input = ""
|
150 |
|
151 |
-
return answer[6:] #this positional slicing helps remove "<pad> " at the beginning
|
152 |
|
153 |
# def update_score():
|
154 |
# st.session_state.session_rating = st.session_state.rating
|
|
|
148 |
|
149 |
st.session_state.my_text_input = ""
|
150 |
|
151 |
+
return answer['answer'][6:] #this positional slicing helps remove "<pad> " at the beginning
|
152 |
|
153 |
# def update_score():
|
154 |
# st.session_state.session_rating = st.session_state.rating
|