Sandra1333 commited on
Commit
0cdb8d6
·
verified ·
1 Parent(s): 34166c2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -49,9 +49,7 @@ def gesprek_met_ai(audio_file):
49
  )
50
  return tekst, response.choices[0].message.content
51
  except Exception as e:
52
- return "Fout bij spraakherkenning of verwerking.", "Fout bij AI-aanroep: controleer je OpenAI API-sleutel of probeer opnieuw."
53
-
54
- {str(e)}"
55
 
56
  # Styling
57
  css = """
 
49
  )
50
  return tekst, response.choices[0].message.content
51
  except Exception as e:
52
+ return "Fout bij spraakherkenning of verwerking.", "Fout bij AI-aanroep: " + str(e)
 
 
53
 
54
  # Styling
55
  css = """