MeowXD commited on
Commit
c3a8f55
·
verified ·
1 Parent(s): 39d8fa7

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask
2
+ import requests
3
+
4
+ app = Flask(__name__)
5
+
6
+ main_text = requests.get('https://internal.ddosxd.ru/realvis_text').text
7
+
8
+ @app.route('/')
9
+ def main_route():
10
+ return main_text
11
+
12
+ app.run(port=7860,host='0.0.0.0')