Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def transcribe(audio, history_type):
|
|
| 39 |
"Dx/DDx": "Weldon_Dx_DDx_Format.txt"
|
| 40 |
}
|
| 41 |
|
| 42 |
-
file_name = history_type_map.get(history_type, "
|
| 43 |
with open(f"Format_Library/{file_name}", "r") as f:
|
| 44 |
role = f.read()
|
| 45 |
messages = [{"role": "system", "content": role}]
|
|
|
|
| 39 |
"Dx/DDx": "Weldon_Dx_DDx_Format.txt"
|
| 40 |
}
|
| 41 |
|
| 42 |
+
file_name = history_type_map.get(history_type, "Weldon_Full_Visit_Format.txt")
|
| 43 |
with open(f"Format_Library/{file_name}", "r") as f:
|
| 44 |
role = f.read()
|
| 45 |
messages = [{"role": "system", "content": role}]
|