Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,10 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
|
4 |
# Set the title of the app
|
5 |
-
st.title("
|
6 |
|
7 |
# Display an image
|
8 |
-
st.image("./nadi-lok-image.png"
|
9 |
|
10 |
# Sidebar for file upload
|
11 |
st.sidebar.header("Upload CSV File")
|
@@ -42,6 +42,4 @@ if submit_button:
|
|
42 |
st.success(f"Hello, {user_input}!")
|
43 |
st.info(f"You are {age} years old.")
|
44 |
else:
|
45 |
-
st.error("Please enter your name.")
|
46 |
-
|
47 |
-
|
|
|
2 |
import pandas as pd
|
3 |
|
4 |
# Set the title of the app
|
5 |
+
st.title("App with Form and File Upload")
|
6 |
|
7 |
# Display an image
|
8 |
+
st.image("./nadi-lok-image.png")
|
9 |
|
10 |
# Sidebar for file upload
|
11 |
st.sidebar.header("Upload CSV File")
|
|
|
42 |
st.success(f"Hello, {user_input}!")
|
43 |
st.info(f"You are {age} years old.")
|
44 |
else:
|
45 |
+
st.error("Please enter your name.")
|
|
|
|