JasperV13 commited on
Commit
34fea33
·
1 Parent(s): ca826ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ class MyBot:
87
  )
88
  return qa
89
 
90
- def translate(self, text, source="English", target="Moroccan Arabic"):
91
  client = Client("https://facebook-seamless-m4t-v2-large.hf.space/--replicas/2bmbx/")
92
  result = client.predict(
93
  text,
 
87
  )
88
  return qa
89
 
90
+ def translate(self, text, source,target):
91
  client = Client("https://facebook-seamless-m4t-v2-large.hf.space/--replicas/2bmbx/")
92
  result = client.predict(
93
  text,