added language setting to env.example and readme

This commit is contained in:
AlexHTW
2023-04-12 01:02:10 +02:00
parent 0130faaf27
commit ab29487b8d
4 changed files with 50 additions and 48 deletions

View File

@@ -72,7 +72,7 @@ def main():
'token_price': float(os.environ.get('TOKEN_PRICE', 0.002)),
'image_prices': [float(i) for i in os.environ.get('IMAGE_PRICES',"0.016,0.018,0.02").split(",")],
'transcription_price': float(os.environ.get('TOKEN_PRICE', 0.006)),
'languague': os.environ.get('LANGUAGUE', 'en')
'language': os.environ.get('LANGUAGE', 'en')
}
# Setup and run ChatGPT and Telegram bot