Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -3,8 +3,13 @@ from flask_cors import CORS
|
|
3 |
import numpy as np
|
4 |
import pandas as pd
|
5 |
from sklearn.linear_model import LogisticRegression
|
|
|
|
|
|
|
|
|
6 |
|
7 |
app = Flask(__name__)
|
|
|
8 |
app.static_folder = 'static'
|
9 |
app.static_url_path = '/static'
|
10 |
|
|
|
3 |
import numpy as np
|
4 |
import pandas as pd
|
5 |
from sklearn.linear_model import LogisticRegression
|
6 |
+
import streamlit as st
|
7 |
+
|
8 |
+
x = st.slider('Select a value')
|
9 |
+
st.write(x, 'squared is', x * x)
|
10 |
|
11 |
app = Flask(__name__)
|
12 |
+
|
13 |
app.static_folder = 'static'
|
14 |
app.static_url_path = '/static'
|
15 |
|