rogerxavier
commited on
Commit
•
7de808f
1
Parent(s):
eb4bed8
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
from PIL import Image
|
3 |
+
from flask import Flask, request, jsonify, send_file
|
4 |
+
from io import BytesIO
|
5 |
+
from api import app
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
if __name__ == '__main__':
|
11 |
+
app.run(host='0.0.0.0', port=8080, debug=True)
|