Update app.py
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ if openai_api_key:
|
|
283 |
st.header("Mathematics Assistant")
|
284 |
|
285 |
# Display image/logo in the "Mathematics Assistant" section (optional)
|
286 |
-
math_icon = Image.open("math_icon.
|
287 |
st.image(math_icon, width=150) # Adjust the size as per preference
|
288 |
|
289 |
# User input for math questions
|
@@ -304,7 +304,7 @@ if openai_api_key:
|
|
304 |
st.header("Biology Assistant")
|
305 |
|
306 |
# Display image/logo in the "Biology Assistant" section (optional)
|
307 |
-
bio_icon = Image.open("bio_icon.
|
308 |
st.image(bio_icon, width=150) # Adjust the size as per preference
|
309 |
|
310 |
# User input for biology questions
|
@@ -325,7 +325,7 @@ if openai_api_key:
|
|
325 |
st.header("Chemistry Assistant")
|
326 |
|
327 |
# Display image/logo in the "Chemistry Assistant" section (optional)
|
328 |
-
chem_icon = Image.open("
|
329 |
st.image(chem_icon, width=150) # Adjust the size as per preference
|
330 |
|
331 |
# User input for chemistry questions
|
@@ -346,7 +346,7 @@ if openai_api_key:
|
|
346 |
st.header("Physics Assistant")
|
347 |
|
348 |
# Display image/logo in the "Physics Assistant" section (optional)
|
349 |
-
phys_icon = Image.open("
|
350 |
st.image(phys_icon, width=150) # Adjust the size as per preference
|
351 |
|
352 |
# User input for physics questions
|
|
|
283 |
st.header("Mathematics Assistant")
|
284 |
|
285 |
# Display image/logo in the "Mathematics Assistant" section (optional)
|
286 |
+
math_icon = Image.open("math_icon.PNG") # Ensure the file is in the correct directory
|
287 |
st.image(math_icon, width=150) # Adjust the size as per preference
|
288 |
|
289 |
# User input for math questions
|
|
|
304 |
st.header("Biology Assistant")
|
305 |
|
306 |
# Display image/logo in the "Biology Assistant" section (optional)
|
307 |
+
bio_icon = Image.open("bio_icon.PNG") # Ensure the file is in the correct directory
|
308 |
st.image(bio_icon, width=150) # Adjust the size as per preference
|
309 |
|
310 |
# User input for biology questions
|
|
|
325 |
st.header("Chemistry Assistant")
|
326 |
|
327 |
# Display image/logo in the "Chemistry Assistant" section (optional)
|
328 |
+
chem_icon = Image.open("chem.PNG") # Ensure the file is in the correct directory
|
329 |
st.image(chem_icon, width=150) # Adjust the size as per preference
|
330 |
|
331 |
# User input for chemistry questions
|
|
|
346 |
st.header("Physics Assistant")
|
347 |
|
348 |
# Display image/logo in the "Physics Assistant" section (optional)
|
349 |
+
phys_icon = Image.open("physics_icon.PNG") # Ensure the file is in the correct directory
|
350 |
st.image(phys_icon, width=150) # Adjust the size as per preference
|
351 |
|
352 |
# User input for physics questions
|