sergiolucero commited on
Commit
9679b96
1 Parent(s): 606f31e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ def transcribe(audiofile):
8
  #open(filename, 'wb').write(audio)
9
  return whisper_transcribe(audiofile)
10
 
11
- def display_text(option):
12
  resumen_historial = df[df.paciente==paciente]['Resumen'].iloc[0]
13
  historial = df[df.paciente==paciente]['EHR'].iloc[0]
14
 
@@ -33,7 +33,7 @@ with gr.Blocks() as demo:
33
  with gr.Column(scale=1):
34
  radio = gr.Radio(choices=pacientes,
35
  label="PACIENTE", value=pacientes[0], interactive=True)
36
- with gr.Column(scale=3):
37
  with gr.Row():
38
  left_text = gr.Markdown()
39
  right_text = gr.Markdown()
 
8
  #open(filename, 'wb').write(audio)
9
  return whisper_transcribe(audiofile)
10
 
11
+ def display_text(paciente):
12
  resumen_historial = df[df.paciente==paciente]['Resumen'].iloc[0]
13
  historial = df[df.paciente==paciente]['EHR'].iloc[0]
14
 
 
33
  with gr.Column(scale=1):
34
  radio = gr.Radio(choices=pacientes,
35
  label="PACIENTE", value=pacientes[0], interactive=True)
36
+ with gr.Column(scale=4):
37
  with gr.Row():
38
  left_text = gr.Markdown()
39
  right_text = gr.Markdown()