Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
f4e0c89
1
Parent(s):
16cbbfb
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ from flask import Flask, request, render_template, jsonify
|
|
2 |
import requests
|
3 |
import os
|
4 |
|
|
|
5 |
|
6 |
-
app = Flask(__name__)
|
7 |
|
8 |
base_url = os.getenv('base_url') # URL сервера, например, 'https://api.notisend.ru/v1/email/'
|
9 |
token = os.getenv('token') # Ваш токен
|
|
|
2 |
import requests
|
3 |
import os
|
4 |
|
5 |
+
app = flask.Flask(__name__, template_folder="./")
|
6 |
|
|
|
7 |
|
8 |
base_url = os.getenv('base_url') # URL сервера, например, 'https://api.notisend.ru/v1/email/'
|
9 |
token = os.getenv('token') # Ваш токен
|