randydev commited on
Commit
ba8726e
1 Parent(s): 5dcc7ce

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +3 -0
functions.py CHANGED
@@ -19,8 +19,11 @@
19
 
20
  import requests
21
  import os
 
22
 
 
23
  HUGGING_TOKEN = os.environ["HUGGING_TOKEN"]
 
24
 
25
  def ryuzaki_ai_text(text):
26
  API_URL = SOURCE_ALPHA_URL
 
19
 
20
  import requests
21
  import os
22
+ from dotenv import load_dotenv
23
 
24
+ load_dotenv()
25
  HUGGING_TOKEN = os.environ["HUGGING_TOKEN"]
26
+ SOURCE_ALPHA_URL = os.environ["SOURCE_ALPHA_URL"]
27
 
28
  def ryuzaki_ai_text(text):
29
  API_URL = SOURCE_ALPHA_URL