auth_token = "replace this with your auth token"
txn_id = "Replace this with your txn id"
request_url = "https://api.marsview.ai/cb/v1/conversation/compute"
"modelType":"speech_to_text",
"automatic_punctuation" : True,
"custom_vocabulary":["Marsview", "Communication"],
"modelType":"meeting_topics"
headers = {'authorization': '{}'.format(auth_token)}
response = requests.request("POST", headers=headers, json=payload)
if response.status_code == 200 and response.json()["status"] == "true":
return response.json()["data"]["enableModels"]["state"]["status"]
raise Exception("Custom exception")
if __name__ == "__main__":