Gertie01 commited on
Commit
0e66bc1
·
verified ·
1 Parent(s): edfc1b6

Update app.py

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