Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
c8e4ab5
1
Parent(s):
62f6da6
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,20 @@
|
|
1 |
-
|
2 |
-
import
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
base_url = os.getenv('base_url') # URL сервера, например, 'https://api.notisend.ru/v1/email/'
|
|
|
1 |
+
import flask
|
2 |
+
from flask import request, jsonify, send_file
|
3 |
import os
|
4 |
|
5 |
+
import asyncio
|
6 |
+
import aiohttp
|
7 |
+
|
8 |
+
from dotenv import load_dotenv
|
9 |
+
import globs
|
10 |
+
from flask import render_template
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
load_dotenv()
|
16 |
+
|
17 |
+
|
18 |
app = Flask(__name__)
|
19 |
|
20 |
base_url = os.getenv('base_url') # URL сервера, например, 'https://api.notisend.ru/v1/email/'
|