Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Whisper 모델을 pipeline으로 불러오기
|
| 7 |
-
whisper = pipeline("automatic-speech-recognition", model="openai/whisper-
|
| 8 |
|
| 9 |
# 음성을 텍스트로 변환하는 함수
|
| 10 |
def transcribe_audio(audio):
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Whisper 모델을 pipeline으로 불러오기
|
| 7 |
+
whisper = pipeline("automatic-speech-recognition", model="openai/whisper-small")
|
| 8 |
|
| 9 |
# 음성을 텍스트로 변환하는 함수
|
| 10 |
def transcribe_audio(audio):
|