Spaces:
Sleeping
Sleeping
update remote
Browse files- app.py +2 -2
- requirements.txt +0 -2
app.py
CHANGED
@@ -80,7 +80,7 @@ def display_download_button(file_path, file_name):
|
|
80 |
|
81 |
|
82 |
# --- Main Page ---
|
83 |
-
st.title("📚❓Visual Understanding")
|
84 |
about = """
|
85 |
**How to use this App**
|
86 |
This app leverages Gemini 2.0 to provide insights in the Visual Understanding Research Paper.
|
@@ -122,7 +122,7 @@ questions = [
|
|
122 |
selected_question = st.selectbox("Choose a question", questions)
|
123 |
|
124 |
# Display a checkbox
|
125 |
-
if st.checkbox('
|
126 |
# If the checkbox is checked, display a text box
|
127 |
selected_question = st.text_input('Enter a question')
|
128 |
|
|
|
80 |
|
81 |
|
82 |
# --- Main Page ---
|
83 |
+
st.title("📚❓VQA on the Visual Understanding Paper")
|
84 |
about = """
|
85 |
**How to use this App**
|
86 |
This app leverages Gemini 2.0 to provide insights in the Visual Understanding Research Paper.
|
|
|
122 |
selected_question = st.selectbox("Choose a question", questions)
|
123 |
|
124 |
# Display a checkbox
|
125 |
+
if st.checkbox('Check this box to enter a question not listed above'):
|
126 |
# If the checkbox is checked, display a text box
|
127 |
selected_question = st.text_input('Enter a question')
|
128 |
|
requirements.txt
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
streamlit
|
2 |
-
requests
|
3 |
-
pdfplumber
|
4 |
huggingface_hub
|
5 |
google-generativeai
|
|
|
1 |
streamlit
|
|
|
|
|
2 |
huggingface_hub
|
3 |
google-generativeai
|