Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def transcribe(inputs, task):
|
|
83 |
return text
|
84 |
|
85 |
|
86 |
-
audio_input = gr.Audio(sources="microphone", type="filepath", label="Audio: from microphone") #gr.Audio(sources="upload", type="filepath", label="Audio: from file")
|
87 |
-
audio_input_choice = gr.Radio(["audio file", "microphone"], label="Audio"
|
88 |
task_input_choice = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
|
89 |
|
90 |
transcribe_interface = gr.Interface(
|
|
|
83 |
return text
|
84 |
|
85 |
|
86 |
+
audio_input = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Audio: from microphone") #gr.Audio(sources="upload", type="filepath", label="Audio: from file")
|
87 |
+
audio_input_choice = gr.Radio(["audio file", "microphone"], label="Audio") #, value="audio file"
|
88 |
task_input_choice = gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
|
89 |
|
90 |
transcribe_interface = gr.Interface(
|