Spaces:
Running
Running
hide revision when not available
Browse files- streamlit_app.py +3 -2
streamlit_app.py
CHANGED
@@ -147,8 +147,9 @@ with st.sidebar:
|
|
147 |
st.markdown(
|
148 |
"""After entering your API Key (Open AI or Huggingface). Upload a scientific article as PDF document. You will see a spinner or loading indicator while the processing is in progress. Once the spinner stops, you can proceed to ask your questions.""")
|
149 |
|
150 |
-
st.
|
151 |
-
|
|
|
152 |
|
153 |
st.header("Query mode (Advanced use)")
|
154 |
st.markdown(
|
|
|
147 |
st.markdown(
|
148 |
"""After entering your API Key (Open AI or Huggingface). Upload a scientific article as PDF document. You will see a spinner or loading indicator while the processing is in progress. Once the spinner stops, you can proceed to ask your questions.""")
|
149 |
|
150 |
+
if st.session_state['git_rev'] != "unknown":
|
151 |
+
st.markdown("**Revision number**: [" + st.session_state[
|
152 |
+
'git_rev'] + "](https://github.com/lfoppiano/document-qa/commit/" + st.session_state['git_rev'] + ")")
|
153 |
|
154 |
st.header("Query mode (Advanced use)")
|
155 |
st.markdown(
|