Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ if __name__ == '__main__':
|
|
| 257 |
|
| 258 |
|
| 259 |
# Gradio Blocks Interface with Tabs
|
| 260 |
-
with gr.Blocks(title="Hex RVC", theme=gr.themes.
|
| 261 |
gr.Markdown("# Hex RVC")
|
| 262 |
gr.Markdown(" join [AIHub](https://discord.gg/aihub) to get the rvc model!")
|
| 263 |
|
|
@@ -321,8 +321,9 @@ with gr.Blocks(title="Hex RVC", theme=gr.themes.Default(primary_hue="red", secon
|
|
| 321 |
|
| 322 |
output_audio = gr.Audio(label="Generated Audio", type='filepath')
|
| 323 |
|
| 324 |
-
|
| 325 |
-
|
|
|
|
| 326 |
|
| 327 |
#ref_btn.click(update_models_list, None, outputs=MODEL_NAME)
|
| 328 |
refresh_btn.click(
|
|
|
|
| 257 |
|
| 258 |
|
| 259 |
# Gradio Blocks Interface with Tabs
|
| 260 |
+
with gr.Blocks(title="Hex RVC", theme=gr.themes.Ocean(primary_hue="red", secondary_hue="pink")) as app:
|
| 261 |
gr.Markdown("# Hex RVC")
|
| 262 |
gr.Markdown(" join [AIHub](https://discord.gg/aihub) to get the rvc model!")
|
| 263 |
|
|
|
|
| 321 |
|
| 322 |
output_audio = gr.Audio(label="Generated Audio", type='filepath')
|
| 323 |
|
| 324 |
+
with gr.Row():
|
| 325 |
+
refresh_btn = gr.Button("Refresh")
|
| 326 |
+
run_button = gr.Button("Convert")
|
| 327 |
|
| 328 |
#ref_btn.click(update_models_list, None, outputs=MODEL_NAME)
|
| 329 |
refresh_btn.click(
|