Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def add_bg_from_local(image_file):
|
|
| 26 |
background-size: cover}}</style>""", unsafe_allow_html=True)
|
| 27 |
add_bg_from_local(image_bg)
|
| 28 |
|
| 29 |
-
st.header("Welcome")
|
| 30 |
#st.set_page_config(layout='wide', page_title="Virtual Tutor")
|
| 31 |
st.markdown("""
|
| 32 |
<svg width="600" height="100">
|
|
@@ -45,7 +45,7 @@ def get_answer(query, chain):
|
|
| 45 |
st.error(f"Error in get_answer: {e}")
|
| 46 |
return None
|
| 47 |
|
| 48 |
-
st.title("MULTIMODAL DOC QA")
|
| 49 |
|
| 50 |
uploaded_file = st.file_uploader("File upload", type="pdf")
|
| 51 |
if uploaded_file is not None:
|
|
|
|
| 26 |
background-size: cover}}</style>""", unsafe_allow_html=True)
|
| 27 |
add_bg_from_local(image_bg)
|
| 28 |
|
| 29 |
+
#st.header("Welcome")
|
| 30 |
#st.set_page_config(layout='wide', page_title="Virtual Tutor")
|
| 31 |
st.markdown("""
|
| 32 |
<svg width="600" height="100">
|
|
|
|
| 45 |
st.error(f"Error in get_answer: {e}")
|
| 46 |
return None
|
| 47 |
|
| 48 |
+
#st.title("MULTIMODAL DOC QA")
|
| 49 |
|
| 50 |
uploaded_file = st.file_uploader("File upload", type="pdf")
|
| 51 |
if uploaded_file is not None:
|