ImranzamanML commited on
Commit
b50f12f
·
verified ·
1 Parent(s): 4592249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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, _ = st.beta_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 = left_column.empty() # Create an empty space in the left column
12
  right_column.markdown("<h1 style='text-align: center;'>Your AI Doctor &#129302;</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 &#129302;</h1>", unsafe_allow_html=True)
12
 
13
  # Create a text input box for the OpenAI key