Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ def get_sessionmaker(search_param):
|
|
22 |
return url
|
23 |
|
24 |
search_param = "Star_Trek:_Discovery"
|
25 |
-
sm=
|
26 |
-
print(sm)
|
27 |
|
28 |
# What is supercool about the second prim the memo is it makes unwieldy data very wieldy. Like the Lord of Rings in reverse re "you cannot wield it! none of us can." -> "You can wield it, now everyone can."
|
29 |
|
@@ -33,10 +33,10 @@ def factorial(n):
|
|
33 |
return 1
|
34 |
return n * factorial(n - 1)
|
35 |
|
36 |
-
em10 = factorial(10)
|
37 |
-
print("em10:",em10)
|
38 |
-
em09 = factorial(9) # Returns instantly!
|
39 |
-
print("em09:",em09)
|
40 |
|
41 |
DEVICE = "cpu"
|
42 |
MODEL_OPTIONS = ["msmarco-distilbert-base-tas-b", "all-mpnet-base-v2"]
|
|
|
22 |
return url
|
23 |
|
24 |
search_param = "Star_Trek:_Discovery"
|
25 |
+
sm= get_sessionmaker(search_param)
|
26 |
+
#print(sm)
|
27 |
|
28 |
# What is supercool about the second prim the memo is it makes unwieldy data very wieldy. Like the Lord of Rings in reverse re "you cannot wield it! none of us can." -> "You can wield it, now everyone can."
|
29 |
|
|
|
33 |
return 1
|
34 |
return n * factorial(n - 1)
|
35 |
|
36 |
+
#em10 = factorial(10)
|
37 |
+
#print("em10:",em10)
|
38 |
+
#em09 = factorial(9) # Returns instantly!
|
39 |
+
#print("em09:",em09)
|
40 |
|
41 |
DEVICE = "cpu"
|
42 |
MODEL_OPTIONS = ["msmarco-distilbert-base-tas-b", "all-mpnet-base-v2"]
|