Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,8 @@ import gradio as gr
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
|
| 6 |
-
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 7 |
|
| 8 |
-
|
| 9 |
-
module = evaluate.load(current_dir)
|
| 10 |
|
| 11 |
def compute_metrics(predictions, references):
|
| 12 |
results = module.compute(predictions=predictions, references=references)
|
|
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
|
|
|
|
| 6 |
|
| 7 |
+
module = evaluate.load("maqiuping59/table_markdown")
|
|
|
|
| 8 |
|
| 9 |
def compute_metrics(predictions, references):
|
| 10 |
results = module.compute(predictions=predictions, references=references)
|