aibmedia commited on
Commit
568853f
·
1 Parent(s): 1a249ff

commit one

Browse files
Files changed (2) hide show
  1. main.py +5 -7
  2. templates/similarity_1.html +1 -1
main.py CHANGED
@@ -33,13 +33,11 @@ def server_app():
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():
 
33
 
34
  @app.route('/')
35
  def server_one():
36
+
37
+ sourcesim = "Results"
38
+ s1 = "Results"
39
+
40
+ return render_template("similarity_1.html", sourcetxt = sourcesim, s1 = s1 )
 
 
41
 
42
  # @app.route('/chat', methods=['POST'])
43
  # def chat():
templates/similarity_1.html CHANGED
@@ -6,7 +6,7 @@
6
  </head>
7
 
8
  <body>
9
- <h1>{{ source }} </h1>
10
 
11
  </ul>
12
  </body>
 
6
  </head>
7
 
8
  <body>
9
+ <h1>{{ sourcetxt }} </h1>
10
 
11
  </ul>
12
  </body>