svenwey commited on
Commit
f7e2a63
·
verified ·
1 Parent(s): b3bdae8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -1,6 +1,12 @@
1
  import evaluate
2
- from evaluate.utils import launch_gradio_widget
3
-
4
 
5
  module = evaluate.load("svenwey/logscoremetric")
6
- launch_gradio_widget(module)
 
 
 
 
 
 
 
 
 
1
  import evaluate
 
 
2
 
3
  module = evaluate.load("svenwey/logscoremetric")
4
+
5
+ inputs = gr.Dataframe()
6
+ outputs = gr.Dataframe()
7
+ interface = gr.Interface(
8
+ fn=module,
9
+ inputs=inputs,
10
+ outputs=outputs
11
+ )
12
+ interface.launch()