EModel
Spaces
·
P
polaris-ai
/
polyglot-translate
♡
Like
65
Running
App
Files
Community
3
⋮
6eb4805
polyglot-translate
/
app.py
Download
Raw
History
199 Bytes
1
import gradio as gr
2
3
4
def respond(message, history):
5
return generate(message, history)
6
7
demo = gr.ChatInterface(respond, title="Polyglot Translate")
8
9
if __name__ == "__main__":
10
demo.launch()