Kryko7
commited on
Commit
•
1779092
1
Parent(s):
0831103
added .env file
Browse files
.env
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
REPLICATE_API_TOKEN="r8_KWM7ZPHF27SufFBDWyTQdAHvU07aUHm2aUjQh"
|
app.py
CHANGED
@@ -192,7 +192,6 @@ def generate_answer_from_embeddings(query, book_embeddings):
|
|
192 |
|
193 |
app = FastAPI()
|
194 |
llm = Replicate(
|
195 |
-
auth= "r8_KWM7ZPHF27SufFBDWyTQdAHvU07aUHm2aUjQh",
|
196 |
model= "replicate/llama-2-70b-chat:2796ee9483c3fd7aa2e171d38f4ca12251a30609463dcfd4cd76703f22e96cdf",
|
197 |
input={"temperature": 0.75, "max_length": 500, "top_p": 1},
|
198 |
)
|
|
|
192 |
|
193 |
app = FastAPI()
|
194 |
llm = Replicate(
|
|
|
195 |
model= "replicate/llama-2-70b-chat:2796ee9483c3fd7aa2e171d38f4ca12251a30609463dcfd4cd76703f22e96cdf",
|
196 |
input={"temperature": 0.75, "max_length": 500, "top_p": 1},
|
197 |
)
|