SevenhuijsenM commited on
Commit
165d735
·
1 Parent(s): f47d361

Attempt for radio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def radio_to_text(radio_url):
75
  max_tokens=512,
76
  top_p=1
77
  )
78
- text = f"Tekst van de AI die is getranscribeerd: {text}\n\n---\n\nSamenvatting door AI:\n\n{response}"
79
 
80
  return text
81
 
 
75
  max_tokens=512,
76
  top_p=1
77
  )
78
+ text = f"Tekst van de AI die is getranscribeerd: {text}\n\n---\n\nSamenvatting door AI:\n\n{response.choices[0].message.content}"
79
 
80
  return text
81