Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,10 +42,6 @@ st.markdown(
|
|
| 42 |
unsafe_allow_html=True,
|
| 43 |
)
|
| 44 |
|
| 45 |
-
# Add link to the sidebar
|
| 46 |
-
st.sidebar.markdown("<p class='sidebar-link'>π <a href='https://insightly-csv-bot.hf.space/'> Insightly - CSV Bot</a></p>", unsafe_allow_html=True)
|
| 47 |
-
st.sidebar.markdown("<p class='sidebar-link'>π <a href='https://chandrakalagowda-demo2.hf.space/'> Insightly - PDF Bot </a></p>", unsafe_allow_html=True)
|
| 48 |
-
st.sidebar.markdown("<p class='sidebar-link'>πΈ <a href='https://insightly-image-reader.hf.space'> Insightly - Frame Capturer</a></p>", unsafe_allow_html=True)
|
| 49 |
|
| 50 |
def process_query(image, query):
|
| 51 |
encoding = processor(image, query, return_tensors="pt")
|
|
@@ -60,6 +56,11 @@ st.set_page_config(page_title="Insightly")
|
|
| 60 |
# Sidebar contents
|
| 61 |
with st.sidebar:
|
| 62 |
st.sidebar.image("https://i.ibb.co/bX6GdqG/insightly-wbg.png", use_column_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
|
|
|
|
| 42 |
unsafe_allow_html=True,
|
| 43 |
)
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
def process_query(image, query):
|
| 47 |
encoding = processor(image, query, return_tensors="pt")
|
|
|
|
| 56 |
# Sidebar contents
|
| 57 |
with st.sidebar:
|
| 58 |
st.sidebar.image("https://i.ibb.co/bX6GdqG/insightly-wbg.png", use_column_width=True)
|
| 59 |
+
# Add link to the sidebar
|
| 60 |
+
st.sidebar.markdown("<p class='sidebar-link'>π <a href='https://insightly-csv-bot.hf.space/'> Insightly - CSV Bot</a></p>", unsafe_allow_html=True)
|
| 61 |
+
st.sidebar.markdown("<p class='sidebar-link'>π <a href='https://chandrakalagowda-demo2.hf.space/'> Insightly - PDF Bot </a></p>", unsafe_allow_html=True)
|
| 62 |
+
st.sidebar.markdown("<p class='sidebar-link'>πΈ <a href='https://insightly-image-reader.hf.space'> Insightly - Frame Capturer</a></p>", unsafe_allow_html=True)
|
| 63 |
+
|
| 64 |
|
| 65 |
|
| 66 |
|