mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-06-15 05:48:07 +00:00
upgraded environments
This commit is contained in:
@ -61,6 +61,7 @@ def execute_latex(code, discussion_id, message_id):
|
||||
|
||||
except subprocess.CalledProcessError as ex:
|
||||
lollmsElfServer.error(f"Error occurred while compiling LaTeX: {ex}")
|
||||
execution_time = time.time() - start_time
|
||||
error_json = {"output": "<div class='text-red-500'>"+str(ex)+"\n"+get_trace_exception(ex)+"</div>", "execution_time": execution_time}
|
||||
return error_json
|
||||
|
||||
|
Reference in New Issue
Block a user