Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ template = """Use the following pieces of context to answer the question at the
|
|
22 |
|
23 |
QA_CHAIN_PROMPT = PromptTemplate(input_variables = ["context", "question"], template = template)
|
24 |
|
25 |
-
rng = random.randrange(1000000)
|
26 |
|
27 |
CHROMA_DIR = "docs/chroma" + rng
|
28 |
YOUTUBE_DIR = "docs/youtube" + rng
|
|
|
22 |
|
23 |
QA_CHAIN_PROMPT = PromptTemplate(input_variables = ["context", "question"], template = template)
|
24 |
|
25 |
+
rng = str(random.randrange(1000000))
|
26 |
|
27 |
CHROMA_DIR = "docs/chroma" + rng
|
28 |
YOUTUBE_DIR = "docs/youtube" + rng
|