Spaces:
Sleeping
Sleeping
CooperElektrik
commited on
Commit
•
7c77181
1
Parent(s):
742afce
Fix runtime error
Browse files
app.py
CHANGED
@@ -116,16 +116,4 @@ if __name__ == '__main__':
|
|
116 |
vc_output2 = gr.Audio(label="Output Audio")
|
117 |
vc_submit.click(vc_fn, [vc_input, vc_transform, auto_f0, tts_text, tts_voice, tts_mode], [vc_output1, vc_output2])
|
118 |
tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice, auto_f0])
|
119 |
-
for category, link in others.items():
|
120 |
-
with gr.TabItem(category):
|
121 |
-
gr.Markdown(
|
122 |
-
f'''
|
123 |
-
<center>
|
124 |
-
<h2>Click to Go</h2>
|
125 |
-
<a href="{link}">
|
126 |
-
<img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-xl-dark.svg"
|
127 |
-
</a>
|
128 |
-
</center>
|
129 |
-
'''
|
130 |
-
)
|
131 |
app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)
|
|
|
116 |
vc_output2 = gr.Audio(label="Output Audio")
|
117 |
vc_submit.click(vc_fn, [vc_input, vc_transform, auto_f0, tts_text, tts_voice, tts_mode], [vc_output1, vc_output2])
|
118 |
tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice, auto_f0])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)
|