raytune as docker
Some checks failed
build_docker / essential (pull_request) Successful in 1s
build_docker / build_cpu (pull_request) Successful in 4m14s
build_docker / build_easyocr (pull_request) Successful in 12m19s
build_docker / build_easyocr_gpu (pull_request) Successful in 14m2s
build_docker / build_doctr (pull_request) Successful in 12m24s
build_docker / build_doctr_gpu (pull_request) Successful in 13m10s
build_docker / build_raytune (pull_request) Successful in 1m50s
build_docker / build_gpu (pull_request) Has been cancelled
Some checks failed
build_docker / essential (pull_request) Successful in 1s
build_docker / build_cpu (pull_request) Successful in 4m14s
build_docker / build_easyocr (pull_request) Successful in 12m19s
build_docker / build_easyocr_gpu (pull_request) Successful in 14m2s
build_docker / build_doctr (pull_request) Successful in 12m24s
build_docker / build_doctr_gpu (pull_request) Successful in 13m10s
build_docker / build_raytune (pull_request) Successful in 1m50s
build_docker / build_gpu (pull_request) Has been cancelled
This commit is contained in:
@@ -6,7 +6,8 @@ import os
|
||||
from bs4 import BeautifulSoup, NavigableString
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
TEMPLATE = os.path.join(BASE_DIR, 'thesis_output/plantilla_individual.htm')
|
||||
TEMPLATE_INPUT = os.path.join(BASE_DIR, 'instructions/plantilla_individual.htm')
|
||||
TEMPLATE_OUTPUT = os.path.join(BASE_DIR, 'thesis_output/plantilla_individual.htm')
|
||||
DOCS_DIR = os.path.join(BASE_DIR, 'docs')
|
||||
|
||||
# Global counters for tables and figures
|
||||
@@ -365,7 +366,7 @@ def main():
|
||||
global table_counter, figure_counter
|
||||
|
||||
print("Reading template...")
|
||||
html_content = read_file(TEMPLATE)
|
||||
html_content = read_file(TEMPLATE_INPUT)
|
||||
soup = BeautifulSoup(html_content, 'html.parser')
|
||||
|
||||
print("Reading docs content...")
|
||||
@@ -595,9 +596,9 @@ def main():
|
||||
|
||||
print("Saving modified template...")
|
||||
output_html = str(soup)
|
||||
write_file(TEMPLATE, output_html)
|
||||
write_file(TEMPLATE_OUTPUT, output_html)
|
||||
|
||||
print(f"✓ Done! Modified: {TEMPLATE}")
|
||||
print(f"✓ Done! Modified: {TEMPLATE_OUTPUT}")
|
||||
print("\nTo convert to DOCX:")
|
||||
print("1. Open the .htm file in Microsoft Word")
|
||||
print("2. Replace [Insertar diagrama Mermaid aquí] placeholders with actual diagrams")
|
||||
|
||||
Reference in New Issue
Block a user