Seidazymov Adil commited on
Commit
6ef792a
1 Parent(s): 4f92cf0

Detect language

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -46,7 +46,7 @@ def detect_language(file_path):
46
 
47
  gradio_app = gr.Interface(
48
  fn=detect_language,
49
- inputs=gr.Audio(source="upload", type="filepath"),
50
  outputs="text",
51
  title="File Upload Transcription",
52
  description="Upload an audio file to determine language."
 
46
 
47
  gradio_app = gr.Interface(
48
  fn=detect_language,
49
+ inputs=gr.Audio(sources="upload", type="filepath"),
50
  outputs="text",
51
  title="File Upload Transcription",
52
  description="Upload an audio file to determine language."
requirements.txt CHANGED
@@ -1 +1,2 @@
1
  transformers
 
 
1
  transformers
2
+ gradio_client