Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

consts.py 551 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  1. import os
  2. from dotenv import load_dotenv
  3. load_dotenv()
  4. # Minimum reports number for calculating propability
  5. MIN_REPORTS = 1
  6. KEYBOARD = [['/report גדול נקי', '/report קטן נקי'],
  7. ['/report גדול מלוכלך', '/report קטן מלוכלך'],
  8. ['מה המצב?']]
  9. # the rate of change towards rasar/clean
  10. CLEAN_FACTOR = 0.75
  11. DIRTY_FACTOR = 0.5
  12. # Getting mode, so we could define run function for local and Heroku setup
  13. MODE = os.getenv("MODE")
  14. BOT_TOKEN = os.getenv("TOKEN")
  15. ADMIN_ID = os.getenv("ADMIN_ID")
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...