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 lines27928028128228328428528628728828929029129213 unmodified lines306307308309310311312278 unmodified lines# Second Row: 2/3 Email Input 1/3 Company Name Inputwith gr.Row(elem_classes="input-section"):with gr.Column(scale=2):email = gr.Textbox(label="Email")with gr.Column(scale=1):company_name = gr.Textbox(label="Company Name")# Third Row: Tolerance Percentagewith gr.Row(elem_classes="input-section"):tolerance = gr.Slider(0, 100, value=5, label="Tolerance Percentage",info="Set the tolerance for audio comparison.")# Fourth Row: Processing Statuswith gr.Row(elem_classes="output-section"):13 unmodified lines# Set up the processing functionsubmit_btn.click(fn=process_audio,inputs=[original_audio, dubbed_audio, email, company_name, tolerance],outputs=output)278 unmodified lines27928028128228328428528628728828929029129213 unmodified lines306307308309310311312278 unmodified lines# Second Row: 2/3 Email Input 1/3 Company Name Inputwith gr.Row(elem_classes="input-section"):with gr.Column(scale=2):_email = gr.Textbox(label="Email")with gr.Column(scale=1):_company_name = gr.Textbox(label="Company Name")# Third Row: Tolerance Percentagewith gr.Row(elem_classes="input-section"):_tolerance = gr.Slider(0, 100, value=5, label="Tolerance Percentage",info="Set the tolerance for audio comparison.")# Fourth Row: Processing Statuswith gr.Row(elem_classes="output-section"):13 unmodified lines# Set up the processing functionsubmit_btn.click(fn=process_audio,inputs=[original_audio, dubbed_audio, _email, _company_name, _tolerance],outputs=output)
app.py+5-5