csv
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ set_config(transform_output="pandas")
|
|
| 13 |
# datetime.now().strftime('%d-%m-%Y _ %Hh %Mm %Ss')
|
| 14 |
DIRPATH = os.path.dirname(os.path.realpath(__file__))
|
| 15 |
tmp_dir = os.path.join(DIRPATH, "src", "assets", "tmp",)
|
| 16 |
-
os.system(f'rm -vf {tmp_dir}
|
| 17 |
tmp_df_fp = os.path.join(
|
| 18 |
tmp_dir, f"history_{datetime.now().strftime('%d-%m-%Y _ %Hh %Mm %Ss')}.csv")
|
| 19 |
ml_core_fp = os.path.join(DIRPATH, "src", "assets",
|
|
@@ -203,8 +203,8 @@ with gr.Blocks() as demo:
|
|
| 203 |
This is a ML API for classification of crop to plant on a land regarding some features
|
| 204 |
''')
|
| 205 |
|
| 206 |
-
multiple_of = 7
|
| 207 |
-
print(f"\n[INFO] {init_df.shape[1]}\n")
|
| 208 |
|
| 209 |
with gr.Row():
|
| 210 |
for i in range(0, init_df.shape[1],):
|
|
|
|
| 13 |
# datetime.now().strftime('%d-%m-%Y _ %Hh %Mm %Ss')
|
| 14 |
DIRPATH = os.path.dirname(os.path.realpath(__file__))
|
| 15 |
tmp_dir = os.path.join(DIRPATH, "src", "assets", "tmp",)
|
| 16 |
+
os.system(f'rm -vf {tmp_dir}/*.csv')
|
| 17 |
tmp_df_fp = os.path.join(
|
| 18 |
tmp_dir, f"history_{datetime.now().strftime('%d-%m-%Y _ %Hh %Mm %Ss')}.csv")
|
| 19 |
ml_core_fp = os.path.join(DIRPATH, "src", "assets",
|
|
|
|
| 203 |
This is a ML API for classification of crop to plant on a land regarding some features
|
| 204 |
''')
|
| 205 |
|
| 206 |
+
# multiple_of = 7
|
| 207 |
+
# print(f"\n[INFO] {init_df.shape[1]}\n")
|
| 208 |
|
| 209 |
with gr.Row():
|
| 210 |
for i in range(0, init_df.shape[1],):
|