Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,13 +2,12 @@ import streamlit as st
|
|
| 2 |
from ai_assistant import ai_doctor
|
| 3 |
|
| 4 |
# Create layout with columns
|
| 5 |
-
left_column,
|
| 6 |
|
| 7 |
# Display image in the left column
|
| 8 |
left_column.image("ai_doctor_img.jpg", caption="Your AI Doctor Image", width=200)
|
| 9 |
|
| 10 |
# Display title in the right column
|
| 11 |
-
right_column = left_column.empty() # Create an empty space in the left column
|
| 12 |
right_column.markdown("<h1 style='text-align: center;'>Your AI Doctor 🤖</h1>", unsafe_allow_html=True)
|
| 13 |
|
| 14 |
# Create a text input box for the OpenAI key
|
|
|
|
| 2 |
from ai_assistant import ai_doctor
|
| 3 |
|
| 4 |
# Create layout with columns
|
| 5 |
+
left_column, right_column = st.columns([1, 4])
|
| 6 |
|
| 7 |
# Display image in the left column
|
| 8 |
left_column.image("ai_doctor_img.jpg", caption="Your AI Doctor Image", width=200)
|
| 9 |
|
| 10 |
# Display title in the right column
|
|
|
|
| 11 |
right_column.markdown("<h1 style='text-align: center;'>Your AI Doctor 🤖</h1>", unsafe_allow_html=True)
|
| 12 |
|
| 13 |
# Create a text input box for the OpenAI key
|