Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
import streamlit as st
|
11 |
from streamlit.components.v1 import html
|
12 |
|
13 |
-
from dotenv import load_dotenv
|
14 |
|
15 |
from PyPDF2 import PdfReader
|
16 |
|
@@ -212,7 +212,7 @@ def main():
|
|
212 |
# # Set page config with base64 string
|
213 |
# st.set_page_config(page_title="Pennwick File Analyzer 2", page_icon=f"data:image/ico;base64,{encoded_string}")
|
214 |
|
215 |
-
st.set_page_config(page_title="Pennwick
|
216 |
|
217 |
print('prepared page...\n')
|
218 |
|
@@ -229,10 +229,10 @@ def main():
|
|
229 |
# st.header("Pennwick File Analyzer 2")
|
230 |
|
231 |
st.image("robot_icon.png", width=96)
|
232 |
-
st.header(f"Pennwick
|
233 |
|
234 |
user_question = None
|
235 |
-
user_question = st.text_input("Ask the Open Source - Flan-T5 Model
|
236 |
if user_question != None:
|
237 |
print('calling process question', user_question)
|
238 |
process_user_question(user_question)
|
|
|
10 |
import streamlit as st
|
11 |
from streamlit.components.v1 import html
|
12 |
|
13 |
+
# from dotenv import load_dotenv
|
14 |
|
15 |
from PyPDF2 import PdfReader
|
16 |
|
|
|
212 |
# # Set page config with base64 string
|
213 |
# st.set_page_config(page_title="Pennwick File Analyzer 2", page_icon=f"data:image/ico;base64,{encoded_string}")
|
214 |
|
215 |
+
st.set_page_config(page_title="Pennwick Honeybee Robot", page_icon="./robot_icon.ico")
|
216 |
|
217 |
print('prepared page...\n')
|
218 |
|
|
|
229 |
# st.header("Pennwick File Analyzer 2")
|
230 |
|
231 |
st.image("robot_icon.png", width=96)
|
232 |
+
st.header(f"Pennwick Honeybee Robot")
|
233 |
|
234 |
user_question = None
|
235 |
+
user_question = st.text_input("Ask the Open Source - Flan-T5 Model any question about Honeybees...")
|
236 |
if user_question != None:
|
237 |
print('calling process question', user_question)
|
238 |
process_user_question(user_question)
|