Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
navagg
/
StreamlitDemo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
navagg
commited on
Jul 30, 2023
Commit
be5e457
·
1 Parent(s):
b97c04f
Add application file
Browse files
Files changed (1)
hide
show
app.py
+11
-0
app.py
ADDED
Viewed
@@ -0,0 +1,11 @@
1
+
# -*- coding: utf-8 -*-
2
+
"""
3
+
Created on Sun Jul 30 13:56:51 2023
4
+
5
+
@author: NAVEEN AGGARWAL
6
+
"""
7
+
8
+
import streamlit as st
9
+
10
+
x = st.slider('Select a value')
11
+
st.write(x, 'squared is', x * x)