Vihang28 commited on
Commit
c1347d6
1 Parent(s): 6eabeb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def api_calling(audio_file, prompt, api_key):
67
  ]
68
  }
69
  ],
70
- "max_tokens": 4097
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()