Spaces:
Runtime error
Runtime error
Update web_demo.py
Browse files- web_demo.py +2 -1
web_demo.py
CHANGED
@@ -224,8 +224,9 @@ if __name__ == "__main__":
|
|
224 |
with gr.Column():
|
225 |
input_mode = gr.Radio(["audio", "text"], label="Input Mode", value="audio")
|
226 |
# audio = gr.Audio(label="Input audio", type='filepath', show_download_button=True, visible=True)
|
227 |
-
audio = gr.Audio(sources=["upload","microphone"], label="Input audio", type='filepath', show_download_button=True, visible=True)
|
228 |
# audio = gr.Audio(source="microphone", label="Input audio", type='filepath', show_download_button=True, visible=True)
|
|
|
229 |
text_input = gr.Textbox(label="Input text", placeholder="Enter your text here...", lines=2, visible=False)
|
230 |
|
231 |
with gr.Column():
|
|
|
224 |
with gr.Column():
|
225 |
input_mode = gr.Radio(["audio", "text"], label="Input Mode", value="audio")
|
226 |
# audio = gr.Audio(label="Input audio", type='filepath', show_download_button=True, visible=True)
|
227 |
+
#audio = gr.Audio(sources=["upload","microphone"], label="Input audio", type='filepath', show_download_button=True, visible=True)
|
228 |
# audio = gr.Audio(source="microphone", label="Input audio", type='filepath', show_download_button=True, visible=True)
|
229 |
+
audio = gr.Audio(label="Input audio", type='filepath', show_download_button=True, visible=True)
|
230 |
text_input = gr.Textbox(label="Input text", placeholder="Enter your text here...", lines=2, visible=False)
|
231 |
|
232 |
with gr.Column():
|