bstraehle commited on
Commit
c2e6078
1 Parent(s): 5699bbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Message)
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