Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks(theme=MetafisikTheme(), js=js_func, css=".gradio-container .overf
|
|
117 |
with gr.Column():
|
118 |
video_output = gr.Video(label="Video Getaran MP")
|
119 |
|
120 |
-
submit_button = gr.Button("
|
121 |
|
122 |
def submit_action(tujuan):
|
123 |
message, audio_file, status, video_path = process_energy_transfer(tujuan, NAMA_ANDA)
|
@@ -129,7 +129,6 @@ with gr.Blocks(theme=MetafisikTheme(), js=js_func, css=".gradio-container .overf
|
|
129 |
tujuan.change(enable_submit, inputs=tujuan, outputs=submit_button)
|
130 |
|
131 |
submit_button.click(
|
132 |
-
label="MULAI MELAKUKAN TRANSFER ENERGI",
|
133 |
submit_action,
|
134 |
inputs=tujuan,
|
135 |
outputs=[message_output, audio_output, status_output, video_output, submit_button]
|
|
|
117 |
with gr.Column():
|
118 |
video_output = gr.Video(label="Video Getaran MP")
|
119 |
|
120 |
+
submit_button = gr.Button("🔥 MULAI TRANSFER ENERGI 🔥", interactive=False)
|
121 |
|
122 |
def submit_action(tujuan):
|
123 |
message, audio_file, status, video_path = process_energy_transfer(tujuan, NAMA_ANDA)
|
|
|
129 |
tujuan.change(enable_submit, inputs=tujuan, outputs=submit_button)
|
130 |
|
131 |
submit_button.click(
|
|
|
132 |
submit_action,
|
133 |
inputs=tujuan,
|
134 |
outputs=[message_output, audio_output, status_output, video_output, submit_button]
|