mgokg commited on
Commit
6c70e53
·
verified ·
1 Parent(s): 1d26928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,14 +42,15 @@ def update(json):
42
  response = requests.post(url, headers=options['headers'], json=options['body'])
43
  data = response.json()
44
  response_content = data['choices'][0]['message']['content']
45
-
 
46
 
47
  def text_to_speech(text):
48
  engine = pyttsx3.init()
49
  engine.say(text)
50
  engine.runAndWait()
51
 
52
- client = Client("Qwen/Qwen2.5-72B-Instruct")
53
 
54
  # Function to transcribe audio data to text
55
  def transcribe_audio(audio):
 
42
  response = requests.post(url, headers=options['headers'], json=options['body'])
43
  data = response.json()
44
  response_content = data['choices'][0]['message']['content']
45
+
46
+ client = Client("Qwen/Qwen2.5-72B-Instruct")
47
 
48
  def text_to_speech(text):
49
  engine = pyttsx3.init()
50
  engine.say(text)
51
  engine.runAndWait()
52
 
53
+
54
 
55
  # Function to transcribe audio data to text
56
  def transcribe_audio(audio):