Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
81 |
chain = LLMChain(llm = llm, prompt = LLM_CHAIN_PROMPT)
|
82 |
result = chain.run({"question": prompt})
|
83 |
except Exception as e:
|
84 |
-
raise gr.Error(e
|
85 |
return result
|
86 |
|
87 |
description = """<strong>Overview:</strong> Reasoning application that demonstrates a <strong>Large Language Model (LLM)</strong> with
|
|
|
81 |
chain = LLMChain(llm = llm, prompt = LLM_CHAIN_PROMPT)
|
82 |
result = chain.run({"question": prompt})
|
83 |
except Exception as e:
|
84 |
+
raise gr.Error(e)
|
85 |
return result
|
86 |
|
87 |
description = """<strong>Overview:</strong> Reasoning application that demonstrates a <strong>Large Language Model (LLM)</strong> with
|