Gohil001 commited on
Commit
64bbab3
·
verified ·
1 Parent(s): a0e4e12

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # App Title
4
+ st.title("मेरा पहला ऐप")
5
+
6
+ # Subtitle
7
+ st.subheader("हेलो वर्ल्ड!")
8
+
9
+ # Description
10
+ st.write("यह मेरा पहला Streamlit ऐप है। यह Hugging Face पर होस्ट किया गया है।")
11
+
12
+ # Input from user
13
+ name = st.text_input("Vishal:", "")
14
+
15
+ # Display user input
16
+ if name:
17
+ st.write(f"नमस्ते, {name}! यह ऐप आपके लिए है।")
18
+
19
+ # Button
20
+ if st.button("क्लिक करें"):
21
+ st.success("आपने बटन क्लिक किया!")
22
+
23
+ # Footer
24
+ st.write("यह एक डेमो ऐप है। Streamlit और Hugging Face का उपयोग करके बनाया गया।")