Spaces:
Runtime error
Runtime error
taskswithcode
commited on
Commit
·
b975e18
1
Parent(s):
c8919a1
Debug
Browse files
app.py
CHANGED
|
@@ -26,14 +26,13 @@ from transformers import BertTokenizer, BertForMaskedLM
|
|
| 26 |
|
| 27 |
|
| 28 |
APP_NAME = "hf/semantic_search"
|
| 29 |
-
INFO_URL = "http://www.taskswithcode.com
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
def get_views(action):
|
| 35 |
print("in get views",action)
|
| 36 |
-
return 0
|
| 37 |
ret_val = 0
|
| 38 |
if ("view_count" not in st.session_state):
|
| 39 |
try:
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
APP_NAME = "hf/semantic_search"
|
| 29 |
+
INFO_URL = "http://www.taskswithcode.com/stats/"
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
def get_views(action):
|
| 35 |
print("in get views",action)
|
|
|
|
| 36 |
ret_val = 0
|
| 37 |
if ("view_count" not in st.session_state):
|
| 38 |
try:
|