Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,9 @@ API_KEY = os.environ["API_KEY"]
|
|
28 |
def transcribe(audio, text):
|
29 |
global messages
|
30 |
global answer_count
|
31 |
-
|
|
|
|
|
32 |
# Transcribe the audio if provided
|
33 |
if audio is not None:
|
34 |
audio_file = open(audio, "rb")
|
|
|
28 |
def transcribe(audio, text):
|
29 |
global messages
|
30 |
global answer_count
|
31 |
+
transcript = {'text': ''}
|
32 |
+
input_text = []
|
33 |
+
|
34 |
# Transcribe the audio if provided
|
35 |
if audio is not None:
|
36 |
audio_file = open(audio, "rb")
|