SnJForever commited on
Commit
70fd21d
1 Parent(s): f8c9967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def submit_message(type_select,user_token, prompt, prompt_template, temperature,
89
  history.append(prompt)
90
  history.append(image_url)
91
 
92
- # state['total_tokens'] += completion['usage']['total_tokens']
93
 
94
  except Exception as e:
95
  history.append(prompt_msg)
 
89
  history.append(prompt)
90
  history.append(image_url)
91
 
92
+ state['total_tokens'] += 0
93
 
94
  except Exception as e:
95
  history.append(prompt_msg)