fix: cannot use microphone
Browse files
app.py
CHANGED
@@ -348,8 +348,8 @@ if __name__ == '__main__':
|
|
348 |
gr.Markdown(
|
349 |
"<div align='center'>\n\n"+
|
350 |
"# RVC Genshin Impact\n\n"+
|
351 |
-
"[![Repository](https://img.shields.io/badge/Github-Multi%20Model%20RVC%20Inference-blue
|
352 |
-
"[![Colab](https://img.shields.io/badge/Colab-RVC%20Genshin%20Impact-blue
|
353 |
"### Recommended to use Google Colab to use other character and feature.\n\n"+
|
354 |
"</div>"
|
355 |
)
|
@@ -379,7 +379,7 @@ if __name__ == '__main__':
|
|
379 |
# Input
|
380 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
381 |
# Upload
|
382 |
-
vc_microphone_mode = gr.Checkbox(label="Use Microphone", value=False, visible=True, interactive=
|
383 |
vc_upload = gr.Audio(label="Upload audio file", source="upload", visible=True, interactive=True)
|
384 |
# Youtube
|
385 |
vc_download_audio = gr.Dropdown(label="Provider", choices=["Youtube"], allow_custom_value=False, visible=False, value="Youtube", info="Select provider (Default: Youtube)")
|
|
|
348 |
gr.Markdown(
|
349 |
"<div align='center'>\n\n"+
|
350 |
"# RVC Genshin Impact\n\n"+
|
351 |
+
"[![Repository](https://img.shields.io/badge/Github-Multi%20Model%20RVC%20Inference-blue&logo=github)](https://github.com/ArkanDash/Multi-Model-RVC-Inference)\n"+
|
352 |
+
"[![Colab](https://img.shields.io/badge/Colab-RVC%20Genshin%20Impact-blue&logo=googlecolab)](https://colab.research.google.com/drive/110kiMZTdP6Ri1lY9-NbQf17GVPPhHyeT?usp=sharing)\n\n"+
|
353 |
"### Recommended to use Google Colab to use other character and feature.\n\n"+
|
354 |
"</div>"
|
355 |
)
|
|
|
379 |
# Input
|
380 |
vc_input = gr.Textbox(label="Input audio path", visible=False)
|
381 |
# Upload
|
382 |
+
vc_microphone_mode = gr.Checkbox(label="Use Microphone", value=False, visible=True, interactive=True)
|
383 |
vc_upload = gr.Audio(label="Upload audio file", source="upload", visible=True, interactive=True)
|
384 |
# Youtube
|
385 |
vc_download_audio = gr.Dropdown(label="Provider", choices=["Youtube"], allow_custom_value=False, visible=False, value="Youtube", info="Select provider (Default: Youtube)")
|