Spaces:
Paused
Paused
CryptoCreeper commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,7 +231,7 @@ with gr.Blocks(css=creeper_css, title="CREEPER AI HUB") as demo:
|
|
| 231 |
clear_image_btn = gr.Button("Clear Model (Password Protected)")
|
| 232 |
with gr.Column(scale=1):
|
| 233 |
img_output = gr.Image(label="Rendered Loot")
|
| 234 |
-
load_image_btn.click(fn=load_image_model, inputs=
|
| 235 |
img_btn.click(fn=image_logic, inputs=[img_prompt, w_slider, h_slider, s_slider], outputs=[image_status_label, img_output])
|
| 236 |
clear_image_btn.click(fn=clear_image_model, inputs=gr.Textbox(label="Enter Password"), outputs=image_status_label)
|
| 237 |
|
|
@@ -252,7 +252,7 @@ with gr.Blocks(css=creeper_css, title="CREEPER AI HUB") as demo:
|
|
| 252 |
with gr.Column():
|
| 253 |
audio_output = gr.Audio(label="Audio Output", type="filepath")
|
| 254 |
status_info = gr.Label(label="Block Metadata")
|
| 255 |
-
load_tts_btn.click(fn=load_tts_model, inputs=
|
| 256 |
tts_btn.click(fn=tts_logic, inputs=[tts_input, voice_select, style_instruct, auto_lang], outputs=[audio_output, status_info])
|
| 257 |
clear_tts_btn.click(fn=clear_tts_model, inputs=gr.Textbox(label="Enter Password"), outputs=tts_status_label)
|
| 258 |
|
|
|
|
| 231 |
clear_image_btn = gr.Button("Clear Model (Password Protected)")
|
| 232 |
with gr.Column(scale=1):
|
| 233 |
img_output = gr.Image(label="Rendered Loot")
|
| 234 |
+
load_image_btn.click(fn=load_image_model, inputs=[], outputs=image_status_label)
|
| 235 |
img_btn.click(fn=image_logic, inputs=[img_prompt, w_slider, h_slider, s_slider], outputs=[image_status_label, img_output])
|
| 236 |
clear_image_btn.click(fn=clear_image_model, inputs=gr.Textbox(label="Enter Password"), outputs=image_status_label)
|
| 237 |
|
|
|
|
| 252 |
with gr.Column():
|
| 253 |
audio_output = gr.Audio(label="Audio Output", type="filepath")
|
| 254 |
status_info = gr.Label(label="Block Metadata")
|
| 255 |
+
load_tts_btn.click(fn=load_tts_model, inputs=[], outputs=tts_status_label)
|
| 256 |
tts_btn.click(fn=tts_logic, inputs=[tts_input, voice_select, style_instruct, auto_lang], outputs=[audio_output, status_info])
|
| 257 |
clear_tts_btn.click(fn=clear_tts_model, inputs=gr.Textbox(label="Enter Password"), outputs=tts_status_label)
|
| 258 |
|