Commit
•
b396d58
1
Parent(s):
c75e44a
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,10 @@ from function import get_fish_qty, get_estat, dr_prediction_deployment, predicti
|
|
14 |
import yaml
|
15 |
with open('config.yaml') as file:
|
16 |
config = yaml.safe_load(file.read())
|
|
|
|
|
|
|
|
|
17 |
|
18 |
def retrain():
|
19 |
get_prediction_result(retrain = True)
|
@@ -160,6 +164,3 @@ with gr.Blocks() as electoric_ploting:
|
|
160 |
electoric_ploting.queue().launch()
|
161 |
|
162 |
plt.close()
|
163 |
-
|
164 |
-
print('out put')
|
165 |
-
pd.DataFrame({'A':[1]}).to_pickle('data.pickle')
|
|
|
14 |
import yaml
|
15 |
with open('config.yaml') as file:
|
16 |
config = yaml.safe_load(file.read())
|
17 |
+
|
18 |
+
|
19 |
+
print('out put')
|
20 |
+
pd.DataFrame({'A':[1]}).to_pickle('data.pickle')
|
21 |
|
22 |
def retrain():
|
23 |
get_prediction_result(retrain = True)
|
|
|
164 |
electoric_ploting.queue().launch()
|
165 |
|
166 |
plt.close()
|
|
|
|
|
|