Spaces:
Build error
Build error
Victoria Oberascher
commited on
Commit
·
631b1f0
1
Parent(s):
1a31127
update app
Browse files
app.py
CHANGED
@@ -48,12 +48,6 @@ def launch_gradio_widget(metric):
|
|
48 |
) ##**parse_gradio_data(data, gradio_input_types)
|
49 |
|
50 |
iface = gr.Interface(
|
51 |
-
fn=compute,
|
52 |
-
inputs=[
|
53 |
-
gr.inputs.Textbox(lines=5, label="Predictions"),
|
54 |
-
gr.inputs.Textbox(lines=5, label="Ground Truth")
|
55 |
-
],
|
56 |
-
outputs=gr.outputs.Textbox(label=metric.name),
|
57 |
description=
|
58 |
(metric.info.description +
|
59 |
"\nPass the predictions and the groud truth in the format specified below."
|
|
|
48 |
) ##**parse_gradio_data(data, gradio_input_types)
|
49 |
|
50 |
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
description=
|
52 |
(metric.info.description +
|
53 |
"\nPass the predictions and the groud truth in the format specified below."
|