Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from pydub import AudioSegment
|
3 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
|
1 |
+
#References — Code:
|
2 |
+
#Whisper 1: https://huggingface.co/spaces/chinhon/whisper_transcribe/blob/main/app.py
|
3 |
+
#Whisper 2: https://huggingface.co/spaces/sanchit-gandhi/whisper-language-id/blob/main/app.py
|
4 |
+
#Roberta: https://huggingface.co/spaces/ivanlau/language-detection-xlm-roberta-base/blob/main/app.py
|
5 |
+
|
6 |
import torch
|
7 |
from pydub import AudioSegment
|
8 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|