dwarkesh commited on
Commit
48f04c5
·
1 Parent(s): 2b8d628
Files changed (1) hide show
  1. transcript.py +7 -2
transcript.py CHANGED
@@ -206,12 +206,17 @@ iface = gr.Interface(
206
  fn=handle_upload,
207
  inputs=gr.Audio(type="filepath"),
208
  outputs=[
209
- gr.Textbox(label="Original Transcript"),
210
- gr.Textbox(label="Enhanced Transcript"),
211
  ],
212
  title="Audio Transcript Enhancement",
213
  description="Upload an MP3 file to get both the original and enhanced transcripts using AssemblyAI and Gemini.",
214
  cache_examples=False,
 
 
 
 
 
215
  )
216
 
217
  if __name__ == "__main__":
 
206
  fn=handle_upload,
207
  inputs=gr.Audio(type="filepath"),
208
  outputs=[
209
+ gr.Textbox(label="Original Transcript", container=False),
210
+ gr.Textbox(label="Enhanced Transcript", container=False),
211
  ],
212
  title="Audio Transcript Enhancement",
213
  description="Upload an MP3 file to get both the original and enhanced transcripts using AssemblyAI and Gemini.",
214
  cache_examples=False,
215
+ allow_flagging="never",
216
+ theme=gr.themes.Default(
217
+ spacing_size="sm",
218
+ text_size="sm",
219
+ ),
220
  )
221
 
222
  if __name__ == "__main__":