Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def api_calling(audio_file, prompt, api_key):
|
|
67 |
]
|
68 |
}
|
69 |
],
|
70 |
-
"max_tokens":
|
71 |
}
|
72 |
response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
|
73 |
audio_text_res = response.json()
|
|
|
67 |
]
|
68 |
}
|
69 |
],
|
70 |
+
"max_tokens": 1500
|
71 |
}
|
72 |
response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
|
73 |
audio_text_res = response.json()
|