Spaces:
Runtime error
Runtime error
sergiolucero
commited on
Commit
•
606f31e
1
Parent(s):
582e91a
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,10 @@ def transcribe(audiofile):
|
|
9 |
return whisper_transcribe(audiofile)
|
10 |
|
11 |
def display_text(option):
|
12 |
-
|
13 |
-
|
14 |
|
15 |
-
return
|
16 |
|
17 |
df = pd.read_csv('pacientes.csv')
|
18 |
pacientes = list(df['paciente'].unique()) # now contains PAC_ID
|
|
|
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 |
|
15 |
+
return resumen_historial, historial
|
16 |
|
17 |
df = pd.read_csv('pacientes.csv')
|
18 |
pacientes = list(df['paciente'].unique()) # now contains PAC_ID
|