Sifal commited on
Commit
d6aa14e
1 Parent(s): 4b177f2

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from utils import translate
3
+
4
+ x = lambda text : translate(x)
5
+
6
+ iface = gr.Interface(fn=x, inputs="text", outputs="text")
7
+ iface.launch()