utkarshshukla2912 commited on
Commit
ed6cecc
Β·
1 Parent(s): 3361f15

changed layout

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -140,22 +140,22 @@ def create_interface():
140
  ## πŸ“ Upload an audio file for transcription (supports WAV, MP3, FLAC, M4A, etc.)
141
  """
142
  )
143
-
144
- with gr.Row():
145
- with gr.Column():
146
  audio_input = gr.Audio(
147
  label="πŸ“ Upload Audio File",
148
  type="filepath",
149
  sources=["upload"],
150
  )
151
 
152
- transcribe_btn = gr.Button("Transcribe", variant="primary", size="lg")
153
-
154
- file_output = gr.Textbox(
155
- label="Transcription Result",
156
- lines=12,
157
- interactive=False,
158
- )
 
159
 
160
  transcribe_btn.click(
161
  transcribe_audio,
 
140
  ## πŸ“ Upload an audio file for transcription (supports WAV, MP3, FLAC, M4A, etc.)
141
  """
142
  )
143
+ with gr.Column():
144
+ with gr.Row():
 
145
  audio_input = gr.Audio(
146
  label="πŸ“ Upload Audio File",
147
  type="filepath",
148
  sources=["upload"],
149
  )
150
 
151
+ file_output = gr.Textbox(
152
+ # label="Transcription Result",
153
+ placeholder="Transcription Result ...",
154
+ show_label=False,
155
+ lines=10,
156
+ interactive=False,
157
+ )
158
+ transcribe_btn = gr.Button("Transcribe", variant="primary", size="lg")
159
 
160
  transcribe_btn.click(
161
  transcribe_audio,