Spaces:
Runtime error
Runtime error
Commit ·
96c1034
1
Parent(s): 31b654e
Refactor variable names: Prefix `email`, `company_name`, and `tolerance` with underscores (`_`) for consistency
Browse files278 unmodified lines27928028128228228328428428528628728828928828929029129213 unmodified lines306307308309309310311312278 unmodified lines # Second Row: 2/3 Email Input 1/3 Company Name Input with gr.Row(elem_classes="input-section"): with gr.Column(scale=2): email = gr.Textbox(label="Email") _email = gr.Textbox(label="Email") with gr.Column(scale=1): company_name = gr.Textbox(label="Company Name") _company_name = gr.Textbox(label="Company Name")
# Third Row: Tolerance Percentage with gr.Row(elem_classes="input-section"): tolerance = gr.Slider(0, 100, value=5, label="Tolerance Percentage", info="Set the tolerance for audio comparison.") _tolerance = gr.Slider(0, 100, value=5, label="Tolerance Percentage", info="Set the tolerance for audio comparison.")
# Fourth Row: Processing Status with gr.Row(elem_classes="output-section"):13 unmodified lines # Set up the processing function submit_btn.click( fn=process_audio, inputs=[original_audio, dubbed_audio, email, company_name, tolerance], inputs=[original_audio, dubbed_audio, _email, _company_name, _tolerance], outputs=output )
app.py+5-5