Update app.py
Browse files
app.py
CHANGED
|
@@ -121,8 +121,6 @@ def get_answer(token, msg):
|
|
| 121 |
if not validate_token(token):
|
| 122 |
return "Invalid token. Please enter a valid Hugging Face token."
|
| 123 |
|
| 124 |
-
def get_answer(msg):
|
| 125 |
-
|
| 126 |
t = pxt.get_table('chatbot_demo.documents')
|
| 127 |
chunks_t = pxt.get_table('chatbot_demo.chunks')
|
| 128 |
|
|
|
|
| 121 |
if not validate_token(token):
|
| 122 |
return "Invalid token. Please enter a valid Hugging Face token."
|
| 123 |
|
|
|
|
|
|
|
| 124 |
t = pxt.get_table('chatbot_demo.documents')
|
| 125 |
chunks_t = pxt.get_table('chatbot_demo.chunks')
|
| 126 |
|