Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
# Description: This script record the audio, transform it to text, detect the language of the file and save it to a txt file.
|
| 5 |
# import required modules
|
| 6 |
import os
|
|
|
|
| 7 |
import streamlit as st
|
| 8 |
from audio_recorder_streamlit import audio_recorder
|
| 9 |
from langdetect import detect
|
|
|
|
| 4 |
# Description: This script record the audio, transform it to text, detect the language of the file and save it to a txt file.
|
| 5 |
# import required modules
|
| 6 |
import os
|
| 7 |
+
import torch
|
| 8 |
import streamlit as st
|
| 9 |
from audio_recorder_streamlit import audio_recorder
|
| 10 |
from langdetect import detect
|