Update app.py
Browse files
app.py
CHANGED
@@ -1,26 +1,16 @@
|
|
1 |
-
import
|
2 |
-
from flask import request, jsonify
|
3 |
-
from flask import Flask, request, jsonify, redirect, url_for
|
4 |
-
from aiogram import Bot, Dispatcher, types
|
5 |
-
from aiohttp import web
|
6 |
-
import asyncio
|
7 |
import os
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
import sqlite3
|
13 |
from datetime import datetime
|
14 |
-
import pytz
|
15 |
import matplotlib.pyplot as plt
|
16 |
import io
|
17 |
import base64
|
18 |
from dotenv import load_dotenv
|
19 |
import globs
|
20 |
-
from
|
21 |
-
|
22 |
|
23 |
-
import requests # Добавлен импорт requests
|
24 |
|
25 |
load_dotenv()
|
26 |
|
|
|
1 |
+
from flask import Flask, request, jsonify, redirect, url_for, render_template
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
|
|
|
|
|
|
|
|
3 |
import sqlite3
|
4 |
from datetime import datetime
|
5 |
+
import pytz
|
6 |
import matplotlib.pyplot as plt
|
7 |
import io
|
8 |
import base64
|
9 |
from dotenv import load_dotenv
|
10 |
import globs
|
11 |
+
from api_logic import api
|
12 |
+
import requests
|
13 |
|
|
|
14 |
|
15 |
load_dotenv()
|
16 |
|