DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -56,6 +56,20 @@ def index():
|
|
56 |
def chat():
|
57 |
return flask.render_template('chat.html')
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
@socketio.on('message')
|
60 |
def handle_message(message):
|
61 |
print('Received message: ' + message)
|
|
|
56 |
def chat():
|
57 |
return flask.render_template('chat.html')
|
58 |
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
@app.route('/chat2')
|
65 |
+
def chat2():
|
66 |
+
return flask.render_template('chat2.html')
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
@socketio.on('message')
|
74 |
def handle_message(message):
|
75 |
print('Received message: ' + message)
|