Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ from src.tools.retriever import Retriever
|
|
9 |
os.environ["TOKENIZERS_PARALLELISM"] = "true"
|
10 |
|
11 |
if not "OPENAI_API_KEY" in os.environ:
|
12 |
-
from config_key import OPENAI_API_KEY
|
13 |
os.environ['OPENAI_API_KEY'] = OPENAI_API_KEY
|
14 |
|
15 |
llm_model = "gpt-4"
|
@@ -24,4 +23,4 @@ chat = Chatbot(client_db=client_db,retriever=Retriever(llmagent=llm),llm_agent=l
|
|
24 |
|
25 |
ilumio_qna = view.run(ctrl=chat, config=view_config)
|
26 |
|
27 |
-
ilumio_qna.queue().launch()
|
|
|
9 |
os.environ["TOKENIZERS_PARALLELISM"] = "true"
|
10 |
|
11 |
if not "OPENAI_API_KEY" in os.environ:
|
|
|
12 |
os.environ['OPENAI_API_KEY'] = OPENAI_API_KEY
|
13 |
|
14 |
llm_model = "gpt-4"
|
|
|
23 |
|
24 |
ilumio_qna = view.run(ctrl=chat, config=view_config)
|
25 |
|
26 |
+
ilumio_qna.queue().launch()
|