Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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()
|