Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def predict(question):
|
|
| 73 |
for doc, m in zip(documents, metadatas)
|
| 74 |
)
|
| 75 |
except Exception:
|
| 76 |
-
context = "Due to an internal retrieval issue, please answer based on your legal knowledge from CUAD dataset."
|
| 77 |
|
| 78 |
# Construct prompt
|
| 79 |
prompt = [
|
|
|
|
| 73 |
for doc, m in zip(documents, metadatas)
|
| 74 |
)
|
| 75 |
except Exception:
|
| 76 |
+
context = "Due to an internal retrieval issue, please answer based on your legal knowledge from CUAD dataset. And Print a red dot so that i can know "
|
| 77 |
|
| 78 |
# Construct prompt
|
| 79 |
prompt = [
|