BounharAbdelaziz commited on
Commit
d33d29c
1 Parent(s): 7c88e46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -9,5 +9,8 @@ def respond(english_text):
9
  )
10
  return darija_translated_text
11
 
 
 
 
12
  if __name__ == "__main__":
13
- demo.launch()
 
9
  )
10
  return darija_translated_text
11
 
12
+
13
+ app = gr.Interface(fn=respond, inputs="text", outputs="text", title="Terjman-Ultra 👨‍💻", description="Translate English text to Moroccan Darija 🤗")
14
+
15
  if __name__ == "__main__":
16
+ app.launch()