Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,8 +97,8 @@ def filter_ihtiyac_data(ilce_values, brans_values):
|
|
97 |
with gr.Blocks() as demo:
|
98 |
with gr.Tab("Antalya Norm Fazlası Öğretmenler"):
|
99 |
ilce_choices = sorted(df_norm['İlçe Adı'].dropna().astype(str).unique().tolist())
|
100 |
-
ilce_multiselect = gr.Dropdown(choices=["Tüm İlçeler"] + ilce_choices, label="
|
101 |
-
brans_multiselect = gr.Dropdown(choices=sorted(df_norm['Branşı'].dropna().unique().tolist()), label="
|
102 |
aciklama_choices = sorted(df_norm['Açıklamalar'].dropna().unique().tolist())
|
103 |
aciklama_multiselect = gr.Dropdown(choices=aciklama_choices, label="Mazaretliler", multiselect=True)
|
104 |
include_empty_aciklama = gr.Checkbox(label="Mazaretsizleri de ekle")
|
@@ -111,8 +111,8 @@ with gr.Blocks() as demo:
|
|
111 |
|
112 |
with gr.Tab("İhtiyaç ve Norm Fazlası Analizi"):
|
113 |
ilce_choices_ihtiyac = sorted(df_ihtiyac['ilçe'].dropna().astype(str).unique().tolist())
|
114 |
-
ilce_multiselect_ihtiyac = gr.Dropdown(choices=["Tüm İlçeler"] + ilce_choices_ihtiyac, label="
|
115 |
-
brans_multiselect_ihtiyac = gr.Dropdown(choices=sorted(df_ihtiyac['branş'].dropna().unique().tolist()), label="
|
116 |
|
117 |
analyze_button = gr.Button("Analiz Et")
|
118 |
|
|
|
97 |
with gr.Blocks() as demo:
|
98 |
with gr.Tab("Antalya Norm Fazlası Öğretmenler"):
|
99 |
ilce_choices = sorted(df_norm['İlçe Adı'].dropna().astype(str).unique().tolist())
|
100 |
+
ilce_multiselect = gr.Dropdown(choices=["Tüm İlçeler"] + ilce_choices, label="İlçe Adı", multiselect=True)
|
101 |
+
brans_multiselect = gr.Dropdown(choices=sorted(df_norm['Branşı'].dropna().unique().tolist()), label="Branşı", multiselect=True)
|
102 |
aciklama_choices = sorted(df_norm['Açıklamalar'].dropna().unique().tolist())
|
103 |
aciklama_multiselect = gr.Dropdown(choices=aciklama_choices, label="Mazaretliler", multiselect=True)
|
104 |
include_empty_aciklama = gr.Checkbox(label="Mazaretsizleri de ekle")
|
|
|
111 |
|
112 |
with gr.Tab("İhtiyaç ve Norm Fazlası Analizi"):
|
113 |
ilce_choices_ihtiyac = sorted(df_ihtiyac['ilçe'].dropna().astype(str).unique().tolist())
|
114 |
+
ilce_multiselect_ihtiyac = gr.Dropdown(choices=["Tüm İlçeler"] + ilce_choices_ihtiyac, label="İlçe Adı", multiselect=True)
|
115 |
+
brans_multiselect_ihtiyac = gr.Dropdown(choices=sorted(df_ihtiyac['branş'].dropna().unique().tolist()), label="Branşı", multiselect=True)
|
116 |
|
117 |
analyze_button = gr.Button("Analiz Et")
|
118 |
|