Sofia Casadei commited on
Commit
570de39
Β·
1 Parent(s): 7587901
Files changed (1) hide show
  1. main.py +2 -1
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
  )