Spaces:
Sleeping
Sleeping
Sofia Casadei
commited on
Commit
Β·
570de39
1
Parent(s):
7587901
TRANSLATE
Browse files
main.py
CHANGED
@@ -132,7 +132,8 @@ async def transcribe(audio: tuple[int, np.ndarray]):
|
|
132 |
#"condition_on_prev_tokens": False,
|
133 |
#"temperature": (0.0, 0.2, 0.4, 0.6),
|
134 |
#"return_timestamps": True,
|
135 |
-
"task": "transcribe",
|
|
|
136 |
"language": LANGUAGE,
|
137 |
}
|
138 |
)
|
|
|
132 |
#"condition_on_prev_tokens": False,
|
133 |
#"temperature": (0.0, 0.2, 0.4, 0.6),
|
134 |
#"return_timestamps": True,
|
135 |
+
#"task": "transcribe",
|
136 |
+
"task": "translate",
|
137 |
"language": LANGUAGE,
|
138 |
}
|
139 |
)
|