Spaces:
son9john
/
Runtime error

son9john commited on
Commit
a048ee4
·
1 Parent(s): 2c8a05a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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")