ahed9x commited on
Commit
aeb54b3
1 Parent(s): d9ec346

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,5 +6,5 @@ pipe = pipeline("text2text-generation", model="mohamedtolba/franco-arabics")
6
  def translate(text):
7
  return pipe(text)
8
 
9
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
10
  demo.launch()
 
6
  def translate(text):
7
  return pipe(text)
8
 
9
+ demo = gr.Interface(fn=translate, inputs="text", outputs="text")
10
  demo.launch()