Update app.py
Browse files
app.py
CHANGED
@@ -367,7 +367,7 @@ def chatbot(user_input, science_objectives="", context="", subdomain="", max_tok
|
|
367 |
|
368 |
yield "Context Retrieved successfully ✅ ", None, None, None, None, None, None, None
|
369 |
|
370 |
-
keywords = extract_keywords_with_gpt(context)
|
371 |
|
372 |
ads_query = " ".join(keywords)
|
373 |
|
|
|
367 |
|
368 |
yield "Context Retrieved successfully ✅ ", None, None, None, None, None, None, None
|
369 |
|
370 |
+
keywords = extract_keywords_with_gpt(context, client)
|
371 |
|
372 |
ads_query = " ".join(keywords)
|
373 |
|