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

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.Message)
85
  return result
86
 
87
  description = """<strong>Overview:</strong> Reasoning application that demonstrates a <strong>Large Language Model (LLM)</strong> with