Zaious commited on
Commit
3ea8fe6
·
verified ·
1 Parent(s): e0c8d0c

Update ideaGen_Followup.py

Browse files
Files changed (1) hide show
  1. ideaGen_Followup.py +3 -2
ideaGen_Followup.py CHANGED
@@ -64,9 +64,10 @@ def ideagen(content_type,context):
64
  total_price += price
65
 
66
 
67
- price = "price:" + str(total_prompt_tokens_used*0.03/1000 + total_completion_tokens_used*0.06/1000) + "$"
 
68
 
69
- full_text += "\n\n" + "price:" + str(total_price)
70
 
71
 
72
  #return response.choices[0].message.content
 
64
  total_price += price
65
 
66
 
67
+ price = total_prompt_tokens_used*0.005/1000 + total_completion_tokens_used*0.015/1000
68
+ price_str = "price:" + str(price) + "$"
69
 
70
+ full_text += "\n\n" + price_str
71
 
72
 
73
  #return response.choices[0].message.content