irena commited on
Commit
07b98ad
·
1 Parent(s): c41dac2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -21,7 +21,7 @@ def main_generator(youtube_id:str):
21
 
22
  output_list = []
23
 
24
- output_list.append(text)
25
 
26
  return text
27
 
@@ -44,9 +44,9 @@ iface = gr.Interface(
44
 
45
  inputs = [gr.Textbox(lines=1, placeholder="Link of youtube video here...", label="Input")]
46
  outputs = gr.HighlightedText()
47
- title="ASR FOR SPANISH MEDICAL RECORDS"
48
- description = "This demo uses AI Models to create an AUDIO ANNOTATION FOR MEDICAL RECORDS"
49
- examples = ['https://www.youtube.com/watch?v=xOZM-1p-jAk']
50
  io = gr.Interface(fn=main_generator, inputs=inputs, outputs=outputs, title=title, description = description, examples = examples,
51
 
52
  css= """.gr-button-primary { background: -webkit-linear-gradient(
 
21
 
22
  output_list = []
23
 
24
+ output_list.append(text)
25
 
26
  return text
27
 
 
44
 
45
  inputs = [gr.Textbox(lines=1, placeholder="Link of youtube video here...", label="Input")]
46
  outputs = gr.HighlightedText()
47
+ title="Transcription of Swedish videos"
48
+ description = "This demo uses small Whisper to transcribe what is spoken in a swedish video"
49
+ examples = ['https://www.youtube.com/watch?v=6eWhV7xYH-Q']
50
  io = gr.Interface(fn=main_generator, inputs=inputs, outputs=outputs, title=title, description = description, examples = examples,
51
 
52
  css= """.gr-button-primary { background: -webkit-linear-gradient(