Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,27 @@ def main():
|
|
10 |
|
11 |
st.title("Personal Assistant")
|
12 |
st.text("A BR CREATION")
|
13 |
-
st.image("chatbot.jpg", caption="Chatbot", width=178)
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
uploaded_file = st.file_uploader("Upload CSV file", type=["csv"])
|
16 |
if uploaded_file is None:
|
17 |
st.warning("Please upload a CSV file.")
|
|
|
10 |
|
11 |
st.title("Personal Assistant")
|
12 |
st.text("A BR CREATION")
|
13 |
+
#st.image("chatbot.jpg", caption="Chatbot", width=178)
|
14 |
|
15 |
+
# Create an empty container
|
16 |
+
container = st.empty()
|
17 |
+
|
18 |
+
# Add the image with specified width
|
19 |
+
container.image("chatbot.jpg", caption="Chatbot", width=178, use_column_width=False)
|
20 |
+
|
21 |
+
# Apply CSS to align the image to the right corner
|
22 |
+
container.markdown(
|
23 |
+
"""
|
24 |
+
<style>
|
25 |
+
div[data-testid="stImage"] {
|
26 |
+
float: right;
|
27 |
+
}
|
28 |
+
</style>
|
29 |
+
""",
|
30 |
+
unsafe_allow_html=True
|
31 |
+
)
|
32 |
+
|
33 |
+
|
34 |
uploaded_file = st.file_uploader("Upload CSV file", type=["csv"])
|
35 |
if uploaded_file is None:
|
36 |
st.warning("Please upload a CSV file.")
|