RamAnanth1 commited on
Commit
d435f81
·
1 Parent(s): 839c4a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -23,11 +23,11 @@ translate_token_id = all_special_ids[-6]
23
 
24
  def get_api():
25
  api = None
26
- # try:
27
- # api = ChatGPT(session_token)
28
- # # api.refresh_auth()
29
- # except:
30
- # api = None
31
  return api
32
 
33
  def translate_or_transcribe(audio, task):
 
23
 
24
  def get_api():
25
  api = None
26
+ try:
27
+ api = ChatGPT(session_token)
28
+ # api.refresh_auth()
29
+ except:
30
+ api = None
31
  return api
32
 
33
  def translate_or_transcribe(audio, task):