Spaces:
Build error
Build error
Fic Interface
Browse files- __pycache__/utils.cpython-39.pyc +0 -0
- app.py +7 -9
__pycache__/utils.cpython-39.pyc
ADDED
Binary file (4.95 kB). View file
|
|
app.py
CHANGED
@@ -8,9 +8,7 @@ sample = SampleClass()
|
|
8 |
|
9 |
demo = gr.Blocks(
|
10 |
title="Categories_error_analysis.ipynb",
|
11 |
-
css=".container { max-width: 98%; margin: auto;};
|
12 |
-
# css="#md {width: 30%} #large {width: 70%}"
|
13 |
-
)
|
14 |
|
15 |
with demo:
|
16 |
gr.Markdown("<h2><center> π± Categories Error Analysis π</center></h2>")
|
@@ -18,34 +16,34 @@ with demo:
|
|
18 |
with gr.Column():
|
19 |
with gr.Row():
|
20 |
with gr.Column():
|
21 |
-
category = gr.Dropdown(
|
22 |
label="Category",
|
23 |
value="relational",
|
24 |
choices=["intrinsic","spatial","ordinal","relational","plural"])
|
25 |
with gr.Column():
|
26 |
-
predictions = gr.Dropdown(
|
27 |
label='Predictions',
|
28 |
value='fail',
|
29 |
choices=["fail", "correct"])
|
30 |
with gr.Row():
|
31 |
with gr.Column():
|
32 |
-
model = gr.Dropdown(
|
33 |
label='Model',
|
34 |
value='baseline',
|
35 |
choices=["baseline", "extended"])
|
36 |
with gr.Column():
|
37 |
-
split = gr.Dropdown(
|
38 |
label='Split',
|
39 |
value='val',
|
40 |
choices=["test","val"])
|
41 |
with gr.Row():
|
42 |
with gr.Column():
|
43 |
-
username = gr.Dropdown(
|
44 |
label="UserName",
|
45 |
value="luciana",
|
46 |
choices=["luciana",'mauri','jorge','nano'])
|
47 |
with gr.Column():
|
48 |
-
next_idx_sample = gr.Number(
|
49 |
label='Next Idx Sample',
|
50 |
value=0)
|
51 |
with gr.Row():
|
|
|
8 |
|
9 |
demo = gr.Blocks(
|
10 |
title="Categories_error_analysis.ipynb",
|
11 |
+
css=".container { max-width: 98%; margin: auto;};")
|
|
|
|
|
12 |
|
13 |
with demo:
|
14 |
gr.Markdown("<h2><center> π± Categories Error Analysis π</center></h2>")
|
|
|
16 |
with gr.Column():
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
+
with gr.Row():category = gr.Dropdown(
|
20 |
label="Category",
|
21 |
value="relational",
|
22 |
choices=["intrinsic","spatial","ordinal","relational","plural"])
|
23 |
with gr.Column():
|
24 |
+
with gr.Row():predictions = gr.Dropdown(
|
25 |
label='Predictions',
|
26 |
value='fail',
|
27 |
choices=["fail", "correct"])
|
28 |
with gr.Row():
|
29 |
with gr.Column():
|
30 |
+
with gr.Row():model = gr.Dropdown(
|
31 |
label='Model',
|
32 |
value='baseline',
|
33 |
choices=["baseline", "extended"])
|
34 |
with gr.Column():
|
35 |
+
with gr.Row():split = gr.Dropdown(
|
36 |
label='Split',
|
37 |
value='val',
|
38 |
choices=["test","val"])
|
39 |
with gr.Row():
|
40 |
with gr.Column():
|
41 |
+
with gr.Row():username = gr.Dropdown(
|
42 |
label="UserName",
|
43 |
value="luciana",
|
44 |
choices=["luciana",'mauri','jorge','nano'])
|
45 |
with gr.Column():
|
46 |
+
with gr.Row():next_idx_sample = gr.Number(
|
47 |
label='Next Idx Sample',
|
48 |
value=0)
|
49 |
with gr.Row():
|