Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -190,6 +190,8 @@ if st.session_state.submit_clicked:
|
|
190 |
# Step 2: Lowercase the documents
|
191 |
|
192 |
st.header('Retrieved Documents')
|
|
|
|
|
193 |
|
194 |
for i in range(len(section_names)):
|
195 |
ui_retrieved_doc_list.append(st.text_area(retrieve_prompt_template.format(inp_keys_list[i], ref_doc_indices[i], section_names[i], document_name), value=retrieved_doc_list[i]))
|
|
|
190 |
# Step 2: Lowercase the documents
|
191 |
|
192 |
st.header('Retrieved Documents')
|
193 |
+
|
194 |
+
retrieve_prompt_template = "{} : Document {} for the '{}' Section of the Article titled '{}'"
|
195 |
|
196 |
for i in range(len(section_names)):
|
197 |
ui_retrieved_doc_list.append(st.text_area(retrieve_prompt_template.format(inp_keys_list[i], ref_doc_indices[i], section_names[i], document_name), value=retrieved_doc_list[i]))
|