fix a typo in recoding

parent 1dd7e735
......@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
#just keep the container running without doing anything
CMD ["sh", "-c", "while :; do sleep 10; done"]
#CMD ["sh", "-c", "while :; do sleep 10; done"]
#run the app automatically when the container starts
#CMD ["python", "main.py"]
CMD ["python", "main.py"]
......@@ -37,7 +37,7 @@ class OpenAIService:
print(f"Transcribing audio: {filename}")
transcript = self.client.audio.transcriptions.create(
model=Models.transcription,
model=Models.transcription.value,
file=audio_file,
language=language if language else None
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment