danieldux commited on
Commit
062e405
1 Parent(s): b4ed6bf

Update import statement in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  # from evaluate.utils import launch_gradio_widget
2
- from tests import test_cases
3
  from evaluate.utils.logging import get_logger
4
  from evaluate.utils import (
5
  infer_gradio_input_types,
@@ -64,4 +64,4 @@ def launch_gradio_widget(metric, test_cases):
64
 
65
  module = evaluate.load("danieldux/metric_template_1")
66
 
67
- launch_gradio_widget(module, [test_cases])
 
1
  # from evaluate.utils import launch_gradio_widget
2
+ import tests
3
  from evaluate.utils.logging import get_logger
4
  from evaluate.utils import (
5
  infer_gradio_input_types,
 
64
 
65
  module = evaluate.load("danieldux/metric_template_1")
66
 
67
+ launch_gradio_widget(module, tests)