Spaces:
Sleeping
Sleeping
[update]edit error log
Browse files
main.py
CHANGED
@@ -223,7 +223,10 @@ def main():
|
|
223 |
|
224 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
225 |
|
226 |
-
|
|
|
|
|
|
|
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 = """
|