Gertie01 commited on
Commit
313b483
·
verified ·
1 Parent(s): cb86032

Update App.py

Browse files
Files changed (1) hide show
  1. App.py +5 -0
App.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import React, { useState } from 'react';
2
 
3
  // Simple flame component
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+
6
  import React, { useState } from 'react';
7
 
8
  // Simple flame component