Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ def invoke(openai_api_key, rag_option, prompt):
|
|
124 |
raise gr.Error("Retrieval Augmented Generation is required.")
|
125 |
if (prompt == ""):
|
126 |
raise gr.Error("Prompt is required.")
|
127 |
-
autolog()
|
128 |
completion = ""
|
129 |
try:
|
130 |
llm = ChatOpenAI(model_name = config["model"],
|
|
|
124 |
raise gr.Error("Retrieval Augmented Generation is required.")
|
125 |
if (prompt == ""):
|
126 |
raise gr.Error("Prompt is required.")
|
127 |
+
autolog("__name__": "test")
|
128 |
completion = ""
|
129 |
try:
|
130 |
llm = ChatOpenAI(model_name = config["model"],
|