Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import random
|
|
| 8 |
#change of LLM below
|
| 9 |
client=InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
|
| 10 |
#STEP 2 from semantic search (read file)
|
| 11 |
-
# Open the
|
| 12 |
with open("physics_info.txt", "r", encoding="utf-8") as file:
|
| 13 |
# Read the entire contents of the file and store it in a variable
|
| 14 |
physics_info_text = file.read()
|
|
|
|
| 8 |
#change of LLM below
|
| 9 |
client=InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
|
| 10 |
#STEP 2 from semantic search (read file)
|
| 11 |
+
# Open the physics_info.txt file in read mode with UTF-8 encoding
|
| 12 |
with open("physics_info.txt", "r", encoding="utf-8") as file:
|
| 13 |
# Read the entire contents of the file and store it in a variable
|
| 14 |
physics_info_text = file.read()
|