Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def invoke(openai_api_key,
|
|
42 |
|
43 |
if (RAG_INGESTION):
|
44 |
return rag_ingestion(collection)
|
45 |
-
elif rag_option ==
|
46 |
inference_result = inference(
|
47 |
openai_api_key,
|
48 |
prompt)
|
|
|
42 |
|
43 |
if (RAG_INGESTION):
|
44 |
return rag_ingestion(collection)
|
45 |
+
elif rag_option == RAG_OFF:
|
46 |
inference_result = inference(
|
47 |
openai_api_key,
|
48 |
prompt)
|