Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,9 @@ from sentence_transformers import SentenceTransformer
|
|
| 9 |
import torch
|
| 10 |
import os
|
| 11 |
import tempfile
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
# Define the embedding class
|
|
|
|
| 9 |
import torch
|
| 10 |
import os
|
| 11 |
import tempfile
|
| 12 |
+
from langchain.llm import LLaMAForConversation
|
| 13 |
+
|
| 14 |
+
llm = LLaMAForConversation(temperature=0.7)
|
| 15 |
|
| 16 |
|
| 17 |
# Define the embedding class
|