Spaces:
Sleeping
Sleeping
Walterchamy
commited on
Commit
•
82b8e1a
1
Parent(s):
2a27b5a
Update app.py
Browse files
app.py
CHANGED
@@ -101,9 +101,16 @@ def text_to_speech(text):
|
|
101 |
|
102 |
def main():
|
103 |
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
st.title("KIITEC VIRTUAL ASSISTANT")
|
108 |
user_input = st.text_input("Enter your question:")
|
109 |
if st.button("Generate"):
|
|
|
101 |
|
102 |
def main():
|
103 |
|
104 |
+
# Set the layout to have two columns
|
105 |
+
col1, col2 = st.beta_columns([1, 4])
|
106 |
+
|
107 |
+
# Display the image in the first column
|
108 |
+
with col1:
|
109 |
+
st.image('logo.png', caption=None, width=200, use_column_width=200)
|
110 |
+
|
111 |
+
# Display the text in the second column
|
112 |
+
with col2:
|
113 |
+
st.markdown("<h4 style='text-align: center; color: white;'>KILIMANJARO INTERNATIONAL INSTITUTE FOR TELECOMMUNICATION, ELECTRONICS & COMPUTERS</h4>", unsafe_allow_html=True)
|
114 |
st.title("KIITEC VIRTUAL ASSISTANT")
|
115 |
user_input = st.text_input("Enter your question:")
|
116 |
if st.button("Generate"):
|