qgyd2021 commited on
Commit
f381a2e
·
1 Parent(s): 6728946

[update]edit error log

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -223,7 +223,10 @@ def main():
223
 
224
  llm_chain = LLMChain(llm=llm, prompt=prompt)
225
 
226
- outputs = llm_chain.predict()
 
 
 
227
  return outputs
228
 
229
  description = """
 
223
 
224
  llm_chain = LLMChain(llm=llm, prompt=prompt)
225
 
226
+ try:
227
+ outputs = llm_chain.predict()
228
+ except Exception as e:
229
+ outputs = str(e)
230
  return outputs
231
 
232
  description = """