Spaces:
Runtime error
Runtime error
github-actions
commited on
Commit
·
d241401
1
Parent(s):
59724d3
Auto files update [main]
Browse files- app.py +0 -1
- codebleu.py +2 -2
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
4 |
-
|
5 |
module = evaluate.load("k4black/codebleu")
|
6 |
launch_gradio_widget(module)
|
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
|
|
4 |
module = evaluate.load("k4black/codebleu")
|
5 |
launch_gradio_widget(module)
|
codebleu.py
CHANGED
@@ -13,10 +13,10 @@
|
|
13 |
# limitations under the License.
|
14 |
"""TODO: Add a description here."""
|
15 |
|
16 |
-
import evaluate
|
17 |
import datasets
|
18 |
-
|
19 |
|
|
|
20 |
|
21 |
# TODO: Add BibTeX citation
|
22 |
_CITATION = """\
|
|
|
13 |
# limitations under the License.
|
14 |
"""TODO: Add a description here."""
|
15 |
|
|
|
16 |
import datasets
|
17 |
+
import evaluate
|
18 |
|
19 |
+
from codebleu import calc_codebleu
|
20 |
|
21 |
# TODO: Add BibTeX citation
|
22 |
_CITATION = """\
|