utrobinmv's picture
feat add app
189b09b
raw history blame
No virus
507 Bytes
import os
import gradio as gr
def load_csv():
filename = 'table.html'
with open(filename, 'r', encoding="utf-8-sig") as f:
return f.read()
#return df.to_html(render_links=True)
return ''
iface = gr.Interface(
fn=load_csv,
inputs=None,
outputs="html",
title="NTREX dataset Benchmark ",
description="Benchmark translation to TREX dataset for ru, en, zh languages. Dataset: https://github.com/MicrosoftTranslator/NTREX",
live=True
)
iface.launch(share=False)