Update app.py
Browse files
app.py
CHANGED
@@ -87,16 +87,16 @@ def calculate_column_widths(df):
|
|
87 |
|
88 |
def show_results_tab(df, model_info, results):
|
89 |
|
90 |
-
def filter_df(model_name):
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
return df
|
100 |
|
101 |
with gr.Row():
|
102 |
model_name = gr.Textbox(
|
|
|
87 |
|
88 |
def show_results_tab(df, model_info, results):
|
89 |
|
90 |
+
# def filter_df(model_name):
|
91 |
+
# df = make_results_tab(model_info, results)
|
92 |
+
# default_val = 'Input the Model Name (fuzzy)'
|
93 |
+
# if model_name != default_val:
|
94 |
+
# method_names = [x.split('</a>')[0].split('>')[-1].lower() for x in df['Model Name']]
|
95 |
+
# flag = [model_name.lower() in name for name in method_names]
|
96 |
+
# df['TEMP'] = flag
|
97 |
+
# df = df[df['TEMP'] == True]
|
98 |
+
# df.pop('TEMP')
|
99 |
+
# return df
|
100 |
|
101 |
with gr.Row():
|
102 |
model_name = gr.Textbox(
|