Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
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 |
+
|