Spaces:
Runtime error
Runtime error
Ramkumar commited on
Update app.py
Browse files140 unmodified lines1411421431441451461472 unmodified lines150151152153154155156157140 unmodified lineswith gr.Row():with gr.Column(scale=1): # Left side (Inputs and Buttons)user_input = gr.Textbox(label="Enter Tamil text", placeholder="Type your message here...")audio_input = gr.Audio(type="filepath", label="Or upload audio (for Image Generation)")image_generation_checkbox = gr.Checkbox(label="Generate Image", value=True)2 unmodified linesclear_btn = gr.Button("Clear")with gr.Column(scale=1): # Right side (Outputs)text_output_1 = gr.Textbox(label="Tamil Transcription / Chatbot Response", interactive=False)text_output_2 = gr.Textbox(label="English Translation", interactive=False)image_output = gr.Image(label="Generated Image")# Connect the buttons to the functions140 unmodified lines1411421431441451461472 unmodified lines150151152153154155156157140 unmodified lineswith gr.Row():with gr.Column(scale=1): # Left side (Inputs and Buttons)user_input = gr.Textbox(label="Enter Tamil or English text", placeholder="Type your message here...")audio_input = gr.Audio(type="filepath", label="Or upload audio (for Image Generation)")image_generation_checkbox = gr.Checkbox(label="Generate Image", value=True)2 unmodified linesclear_btn = gr.Button("Clear")with gr.Column(scale=1): # Right side (Outputs)text_output_1 = gr.Textbox(label="English Transcription", interactive=False)text_output_2 = gr.Textbox(label="Chatbot Response", interactive=False)image_output = gr.Image(label="Generated Image")# Connect the buttons to the functions
app.py+3-3