File size: 215 Bytes
966bad4
c5d5181
966bad4
26608d4
 
 
 
1
2
3
4
5
6
7
import os 
#os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')

import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)