Spaces:
Sleeping
Sleeping
Dhrumit1314
commited on
Commit
•
2581baf
1
Parent(s):
424e067
Update app.py
Browse files
app.py
CHANGED
@@ -40,12 +40,12 @@ def extract_video_id(youtube_link):
|
|
40 |
|
41 |
@app.route('/', methods=['GET'])
|
42 |
def hello():
|
43 |
-
hostname = request.host
|
44 |
-
domain = request.url_root
|
45 |
-
user_agent = request.user_agent.string
|
46 |
|
47 |
-
h = f"<h1>Hello World</h1><p>Hostname: {hostname}</p><p>Domain: {domain}</p><p>User Agent: {user_agent}</p>"
|
48 |
-
|
49 |
return h
|
50 |
|
51 |
# @app.route('/get_tested',methods=['GET'])
|
|
|
40 |
|
41 |
@app.route('/', methods=['GET'])
|
42 |
def hello():
|
43 |
+
# hostname = request.host
|
44 |
+
# domain = request.url_root
|
45 |
+
# user_agent = request.user_agent.string
|
46 |
|
47 |
+
# h = f"<h1>Hello World</h1><p>Hostname: {hostname}</p><p>Domain: {domain}</p><p>User Agent: {user_agent}</p>"
|
48 |
+
h = "<h1>This is the backend deployed web page created by NotivAI!!</h1>"
|
49 |
return h
|
50 |
|
51 |
# @app.route('/get_tested',methods=['GET'])
|