Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,8 @@ client = OpenAI(api_key = OPENAI_SECRET_KEY)
|
|
| 15 |
note_transcript = ""
|
| 16 |
|
| 17 |
def transcribe(audio, history_type):
|
| 18 |
-
global note_transcript
|
|
|
|
| 19 |
|
| 20 |
history_type_map = {
|
| 21 |
"History": "Weldon_History_Format.txt",
|
|
|
|
| 15 |
note_transcript = ""
|
| 16 |
|
| 17 |
def transcribe(audio, history_type):
|
| 18 |
+
global note_transcript
|
| 19 |
+
print(f"Received audio file path: {audio}")
|
| 20 |
|
| 21 |
history_type_map = {
|
| 22 |
"History": "Weldon_History_Format.txt",
|