Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -207,6 +207,7 @@ def person_example_fn(image_path):
|
|
207 |
return image_path
|
208 |
|
209 |
|
|
|
210 |
HEADER = """
|
211 |
<p style="text-align: center;">
|
212 |
<img src="https://i.ibb.co/9bh36NJ/resource-De-XFIT.png" alt="DeX Logo" style="height: auto;">
|
@@ -214,7 +215,6 @@ HEADER = """
|
|
214 |
<h1 style="text-align: center; color: #101820;"> DEX FIT Virtual Try-On with Diffusion Models </h1>
|
215 |
"""
|
216 |
|
217 |
-
|
218 |
def app_gradio():
|
219 |
with gr.Blocks(title="DeXFit") as demo:
|
220 |
gr.Markdown(HEADER)
|
|
|
207 |
return image_path
|
208 |
|
209 |
|
210 |
+
# Define the HTML content for the header
|
211 |
HEADER = """
|
212 |
<p style="text-align: center;">
|
213 |
<img src="https://i.ibb.co/9bh36NJ/resource-De-XFIT.png" alt="DeX Logo" style="height: auto;">
|
|
|
215 |
<h1 style="text-align: center; color: #101820;"> DEX FIT Virtual Try-On with Diffusion Models </h1>
|
216 |
"""
|
217 |
|
|
|
218 |
def app_gradio():
|
219 |
with gr.Blocks(title="DeXFit") as demo:
|
220 |
gr.Markdown(HEADER)
|