Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ class MyBot:
|
|
87 |
)
|
88 |
return qa
|
89 |
|
90 |
-
def translate(self, text, source
|
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,
|