Spaces:
Sleeping
Sleeping
app.py fix
Browse files
app.py
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
-
|
| 2 |
-
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 .AppleSystemUIFontMonospaced-Regular;}
|
| 3 |
-
{\colortbl;\red255\green255\blue255;\red147\green0\blue147;\red255\green255\blue255;\red24\green30\blue42;
|
| 4 |
-
\red66\green147\blue62;}
|
| 5 |
-
{\*\expandedcolortbl;;\cssrgb\c65098\c14902\c64314;\cssrgb\c100000\c100000\c100000;\cssrgb\c12157\c16078\c21569;
|
| 6 |
-
\cssrgb\c31373\c63137\c30980;}
|
| 7 |
-
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
|
| 8 |
-
\deftab720
|
| 9 |
-
\pard\pardeftab720\partightenfactor0
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
\
|
| 14 |
-
x = st.slider(\cf5 \strokec5 'Select a value'\cf4 \strokec4 )\
|
| 15 |
-
st.write(x, \cf5 \strokec5 'squared is'\cf4 \strokec4 , x * x)\
|
| 16 |
-
}
|
|
|
|
| 1 |
+
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
x = st.slider('Select a value')
|
| 4 |
+
st.write(x, 'squared is', x * x)
|
|
|
|
|
|
|
|
|
|
|
|