Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,10 +46,12 @@ def hello():
|
|
| 46 |
|
| 47 |
h = f"<h1>Hello World</h1><p>Hostname: {hostname}</p><p>Domain: {domain}</p><p>User Agent: {user_agent}</p>"
|
| 48 |
return h
|
|
|
|
| 49 |
@app.route('/get_humiliated',methods=['GET'])
|
| 50 |
def hello2():
|
| 51 |
-
h = "<h1>Hello
|
| 52 |
return h
|
|
|
|
| 53 |
# Route for uploading video files
|
| 54 |
@app.route('/upload_video', methods=['POST'])
|
| 55 |
def upload_video():
|
|
|
|
| 46 |
|
| 47 |
h = f"<h1>Hello World</h1><p>Hostname: {hostname}</p><p>Domain: {domain}</p><p>User Agent: {user_agent}</p>"
|
| 48 |
return h
|
| 49 |
+
|
| 50 |
@app.route('/get_humiliated',methods=['GET'])
|
| 51 |
def hello2():
|
| 52 |
+
h = "<h1>Hello this is testing!!</h1>"
|
| 53 |
return h
|
| 54 |
+
|
| 55 |
# Route for uploading video files
|
| 56 |
@app.route('/upload_video', methods=['POST'])
|
| 57 |
def upload_video():
|