Spaces:
Sleeping
Sleeping
Update app.py
#1
by
SonyaHas
- opened
app.py
CHANGED
|
@@ -5,10 +5,11 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
from sentence_transformers import SentenceTransformer
|
| 6 |
import torch
|
| 7 |
|
|
|
|
| 8 |
# SEMANTIC SEARCH STEP 2 --> EDIT WITH YOUR OWN KNOWLEDGE BASE WHEN READY
|
| 9 |
-
with open("
|
| 10 |
# Read the entire contents of the file and store it in a variable
|
| 11 |
-
|
| 12 |
print(water_cycle_text)
|
| 13 |
|
| 14 |
# SEMANTIC SEARCH STEP 3
|
|
|
|
| 5 |
from sentence_transformers import SentenceTransformer
|
| 6 |
import torch
|
| 7 |
|
| 8 |
+
# here
|
| 9 |
# SEMANTIC SEARCH STEP 2 --> EDIT WITH YOUR OWN KNOWLEDGE BASE WHEN READY
|
| 10 |
+
with open("skin cancer harvard.txt", "r", encoding="utf-8") as file:
|
| 11 |
# Read the entire contents of the file and store it in a variable
|
| 12 |
+
skin cancer harvard_text = file.read()
|
| 13 |
print(water_cycle_text)
|
| 14 |
|
| 15 |
# SEMANTIC SEARCH STEP 3
|