This commit is contained in:
Saifeddine ALOUI
2024-02-28 22:56:34 +01:00
parent be34aaebbf
commit e7cdefcf94
23 changed files with 377 additions and 316 deletions

View File

@ -79,6 +79,6 @@ def execute_latex(code, client:Client, message_id):
host = lollmsElfServer.config.host
url = f"{host}:{lollmsElfServer.config.port}/{discussion_path_2_url(pdf_file)}"
output_json = {"output": f"Pdf file generated at: {pdf_file}\n<a href='{url}'>Click here to show</a>", "execution_time": execution_time}
output_json = {"output": f"Pdf file generated at: {pdf_file}\n<a href='{url}' target='_blank'>Click here to show</a>", "execution_time": execution_time}
return output_json
return spawn_process(code)