Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from docx import Document
|
| 3 |
-
from docx.shared import Inches, Pt
|
| 4 |
from docx.oxml import OxmlElement
|
| 5 |
from PIL import Image
|
| 6 |
from datetime import datetime
|
|
@@ -91,7 +91,7 @@ def process_images(images, job_number, job_name, job_address):
|
|
| 91 |
# HTML code to display the logo and title together
|
| 92 |
title_with_logo = """
|
| 93 |
<div style="text-align: center;">
|
| 94 |
-
<img src="
|
| 95 |
<h1>HKC Report Generator</h1>
|
| 96 |
</div>
|
| 97 |
"""
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from docx import Document
|
| 3 |
+
from docx.shared import Inches, Pt, RGBColor
|
| 4 |
from docx.oxml import OxmlElement
|
| 5 |
from PIL import Image
|
| 6 |
from datetime import datetime
|
|
|
|
| 91 |
# HTML code to display the logo and title together
|
| 92 |
title_with_logo = """
|
| 93 |
<div style="text-align: center;">
|
| 94 |
+
<img src="logo.png" alt="Logo" width="100"><br>
|
| 95 |
<h1>HKC Report Generator</h1>
|
| 96 |
</div>
|
| 97 |
"""
|