Spaces:
Runtime error
Runtime error
Ramkumar commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ with gr.Blocks(css=css) as iface:
|
|
| 141 |
|
| 142 |
with gr.Row():
|
| 143 |
with gr.Column(scale=1): # Left side (Inputs and Buttons)
|
| 144 |
-
user_input = gr.Textbox(label="Enter Tamil text", placeholder="Type your message here...")
|
| 145 |
audio_input = gr.Audio(type="filepath", label="Or upload audio (for Image Generation)")
|
| 146 |
image_generation_checkbox = gr.Checkbox(label="Generate Image", value=True)
|
| 147 |
|
|
@@ -150,8 +150,8 @@ with gr.Blocks(css=css) as iface:
|
|
| 150 |
clear_btn = gr.Button("Clear")
|
| 151 |
|
| 152 |
with gr.Column(scale=1): # Right side (Outputs)
|
| 153 |
-
text_output_1 = gr.Textbox(label="
|
| 154 |
-
text_output_2 = gr.Textbox(label="
|
| 155 |
image_output = gr.Image(label="Generated Image")
|
| 156 |
|
| 157 |
# Connect the buttons to the functions
|
|
|
|
| 141 |
|
| 142 |
with gr.Row():
|
| 143 |
with gr.Column(scale=1): # Left side (Inputs and Buttons)
|
| 144 |
+
user_input = gr.Textbox(label="Enter Tamil or English text", placeholder="Type your message here...")
|
| 145 |
audio_input = gr.Audio(type="filepath", label="Or upload audio (for Image Generation)")
|
| 146 |
image_generation_checkbox = gr.Checkbox(label="Generate Image", value=True)
|
| 147 |
|
|
|
|
| 150 |
clear_btn = gr.Button("Clear")
|
| 151 |
|
| 152 |
with gr.Column(scale=1): # Right side (Outputs)
|
| 153 |
+
text_output_1 = gr.Textbox(label="English Transcription", interactive=False)
|
| 154 |
+
text_output_2 = gr.Textbox(label="Chatbot Response", interactive=False)
|
| 155 |
image_output = gr.Image(label="Generated Image")
|
| 156 |
|
| 157 |
# Connect the buttons to the functions
|