Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,15 @@ def fix_code_bugs(buggy_code, model="gpt-4o-mini"):
|
|
58 |
)
|
59 |
return response['choices'][0]['message']['content']
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
# Streamlit app starts here
|
62 |
st.title("AI Assistance")
|
63 |
|
|
|
58 |
)
|
59 |
return response['choices'][0]['message']['content']
|
60 |
|
61 |
+
from PIL import Image # Required for local image files
|
62 |
+
|
63 |
+
# Streamlit app starts here
|
64 |
+
st.set_page_config(page_title="AI Assistance", page_icon=":robot:", layout="wide")
|
65 |
+
|
66 |
+
# Display a logo or icon
|
67 |
+
image = Image.open("path_to_your_image.png") # Path to your image file
|
68 |
+
st.image(image, width=200) # You can adjust the width as needed
|
69 |
+
|
70 |
# Streamlit app starts here
|
71 |
st.title("AI Assistance")
|
72 |
|