Séparation Front/Back #11
0
backend/__init__.py
Normal file
0
backend/__init__.py
Normal file
@@ -176,4 +176,4 @@ class UnitLengthStrategy(ScalingStrategy):
|
||||
return df
|
||||
|
||||
def __str__(self) -> str:
|
||||
return "Unit length"
|
||||
return "Unit length"
|
0
frontend/__init__.py
Normal file
0
frontend/__init__.py
Normal file
@@ -1,4 +1,7 @@
|
||||
import streamlit as st
|
||||
import sys
|
||||
import os
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../../backend')))
|
||||
from normstrategy import MVStrategy, ScalingStrategy, KNNStrategy
|
||||
|
||||
if "data" in st.session_state:
|
||||
@@ -32,4 +35,4 @@ if "data" in st.session_state:
|
||||
st.write(data)
|
||||
st.session_state.data = data
|
||||
else:
|
||||
st.error("file not loaded")
|
||||
st.error("file not loaded")
|
Reference in New Issue
Block a user