Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,8 @@ QA_CHAIN_PROMPT = PromptTemplate(input_variables = ["context", "question"], temp
|
|
24 |
|
25 |
initial_load = True
|
26 |
|
|
|
|
|
27 |
def invoke(openai_api_key, youtube_url, prompt):
|
28 |
openai.api_key = openai_api_key
|
29 |
if initial_load == True:
|
|
|
24 |
|
25 |
initial_load = True
|
26 |
|
27 |
+
print(initial_load)
|
28 |
+
|
29 |
def invoke(openai_api_key, youtube_url, prompt):
|
30 |
openai.api_key = openai_api_key
|
31 |
if initial_load == True:
|