Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
1a62cc0
1
Parent(s):
29bda77
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import flask
|
2 |
-
from flask import request, jsonify
|
3 |
import os
|
|
|
|
|
|
|
4 |
from dotenv import load_dotenv
|
5 |
import globs
|
6 |
from flask import render_template
|
@@ -180,10 +183,8 @@ def handle_api():
|
|
180 |
|
181 |
|
182 |
|
183 |
-
from flask import Flask, send_file
|
184 |
-
import os
|
185 |
|
186 |
-
|
187 |
|
188 |
@app.route('/graf_json', methods=['GET'])
|
189 |
def get_json_file():
|
|
|
1 |
import flask
|
2 |
+
from flask import request, jsonify, send_file
|
3 |
import os
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
from dotenv import load_dotenv
|
8 |
import globs
|
9 |
from flask import render_template
|
|
|
183 |
|
184 |
|
185 |
|
|
|
|
|
186 |
|
187 |
+
|
188 |
|
189 |
@app.route('/graf_json', methods=['GET'])
|
190 |
def get_json_file():
|