Z3ktrix commited on
Commit
d7f0d06
Β·
verified Β·
1 Parent(s): 60919e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import requests
7
  from dotenv import load_dotenv
8
 
9
  import gradio_client as grc
10
-
11
  # Load the environment variables from the .env file
12
  load_dotenv()
13
 
@@ -48,4 +48,4 @@ def main():
48
 
49
  if __name__ == "__main__":
50
  main()
51
- grc.Client("Z3ktrix/mistralai-Mistral-7B-Instruct-v0.3").deploy_discord(to_id="dstok")
 
7
  from dotenv import load_dotenv
8
 
9
  import gradio_client as grc
10
+ grc.Client("Z3ktrix/mistralai-Mistral-7B-Instruct-v0.3").deploy_discord({"Authorization": f"Bearer {os.getenv('DSTOK')}"})
11
  # Load the environment variables from the .env file
12
  load_dotenv()
13
 
 
48
 
49
  if __name__ == "__main__":
50
  main()
51
+