BounharAbdelaziz commited on
Commit
ade53b7
β€’
1 Parent(s): 91b84c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def respond(english_text):
13
  darija_translated_text = requests.post(API_URL, headers=headers, json=payload)
14
  return darija_translated_text.json()[0]["generated_text"]
15
 
16
- app = gr.Interface(fn=respond, inputs="text", outputs="text", title="Terjman-Nano 😊", description="Translate English text to Moroccan Darija using our smallest model (77M) πŸ€—")
17
 
18
  if __name__ == "__main__":
19
  app.launch()
 
13
  darija_translated_text = requests.post(API_URL, headers=headers, json=payload)
14
  return darija_translated_text.json()[0]["generated_text"]
15
 
16
+ app = gr.Interface(fn=respond, inputs="text", outputs="text", title="Terjman-Nano πŸ‘¨β€πŸ’» 😊", description="Translate English text to Moroccan Darija using our smallest model (77M) πŸ€—")
17
 
18
  if __name__ == "__main__":
19
  app.launch()