ANASAKHTAR commited on
Commit
984b822
·
verified ·
1 Parent(s): 4eab2a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -149,6 +149,10 @@ input:focus, textarea:focus, select:focus {
149
  font-weight: normal; /* Remove bold text for the label */
150
  color: #333333; /* Keep the text color neutral */
151
  }
 
 
 
 
152
  """) as demo:
153
  with gr.Row():
154
  gr.Markdown(
@@ -173,7 +177,7 @@ input:focus, textarea:focus, select:focus {
173
 
174
  with gr.Tab("Audio Translation"):
175
  with gr.Column(elem_id="audio-file-container"): # Added container with no background color
176
- audio_input = gr.Audio(label="Upload Audio File", type="filepath")
177
  audio_language_dropdown = gr.Dropdown(
178
  choices=available_languages, label="Select Destination Language"
179
  )
 
149
  font-weight: normal; /* Remove bold text for the label */
150
  color: #333333; /* Keep the text color neutral */
151
  }
152
+ #upload-audio-file {
153
+ font-size: 14px; /* Smaller size for the upload button */
154
+ padding: 8px 16px; /* Reduced padding for a smaller button */
155
+ }
156
  """) as demo:
157
  with gr.Row():
158
  gr.Markdown(
 
177
 
178
  with gr.Tab("Audio Translation"):
179
  with gr.Column(elem_id="audio-file-container"): # Added container with no background color
180
+ audio_input = gr.Audio(label="Upload Audio File", type="filepath", elem_id="upload-audio-file")
181
  audio_language_dropdown = gr.Dropdown(
182
  choices=available_languages, label="Select Destination Language"
183
  )