Spaces:
Sleeping
Sleeping
anakin87
commited on
Commit
•
84c329b
1
Parent(s):
04465dd
fix
Browse files
app.py
CHANGED
@@ -35,7 +35,6 @@ def main():
|
|
35 |
Built with <a href="https://github.com/deepset-ai/haystack/" target="_blank">Haystack</a><br/>
|
36 |
<small>Data crawled from <a href="https://twinpeaks.fandom.com/wiki/Twin_Peaks_Wiki" target="_blank">
|
37 |
Twin Peaks Wiki</a>.</small>
|
38 |
-
<img src="https://visitor-badge.glitch.me/badge?page_id=anakin87.who-killed-laura-palmer" width="50"></img>
|
39 |
</p><img src="{LAURA_PALMER_IMG_SRC}"/><br/></div>
|
40 |
""", unsafe_allow_html=True)
|
41 |
# spotify webplayer
|
@@ -89,6 +88,7 @@ def main():
|
|
89 |
st.session_state.results = query(
|
90 |
question, RETRIEVER_TOP_K, READER_TOP_K)
|
91 |
time_end = time.time()
|
|
|
92 |
print(f'elapsed time: {time_end - time_start}')
|
93 |
except JSONDecodeError as je:
|
94 |
st.error(
|
|
|
35 |
Built with <a href="https://github.com/deepset-ai/haystack/" target="_blank">Haystack</a><br/>
|
36 |
<small>Data crawled from <a href="https://twinpeaks.fandom.com/wiki/Twin_Peaks_Wiki" target="_blank">
|
37 |
Twin Peaks Wiki</a>.</small>
|
|
|
38 |
</p><img src="{LAURA_PALMER_IMG_SRC}"/><br/></div>
|
39 |
""", unsafe_allow_html=True)
|
40 |
# spotify webplayer
|
|
|
88 |
st.session_state.results = query(
|
89 |
question, RETRIEVER_TOP_K, READER_TOP_K)
|
90 |
time_end = time.time()
|
91 |
+
print(time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime()))
|
92 |
print(f'elapsed time: {time_end - time_start}')
|
93 |
except JSONDecodeError as je:
|
94 |
st.error(
|