Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
from flask import Flask
|
3 |
import threading
|
4 |
import asyncio
|
5 |
|
@@ -32,13 +32,15 @@ def server_app():
|
|
32 |
return 'llamafile.start()'
|
33 |
|
34 |
@app.route('/')
|
35 |
-
def
|
36 |
-
|
37 |
-
|
38 |
-
"
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
42 |
# @app.route('/chat', methods=['POST'])
|
43 |
# def chat():
|
44 |
# try:
|
|
|
1 |
import os
|
2 |
+
from flask import Flask, render_template
|
3 |
import threading
|
4 |
import asyncio
|
5 |
|
|
|
32 |
return 'llamafile.start()'
|
33 |
|
34 |
@app.route('/')
|
35 |
+
def server_one():
|
36 |
+
context = {
|
37 |
+
"source": "Results",
|
38 |
+
"s1": "Results",
|
39 |
+
"s2": "Results",
|
40 |
+
"s3": "Results",
|
41 |
+
}
|
42 |
+
return render_template("similarity_1.html", **context)
|
43 |
+
|
44 |
# @app.route('/chat', methods=['POST'])
|
45 |
# def chat():
|
46 |
# try:
|