Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def inference(img, version, scale):
|
|
| 91 |
return None, None
|
| 92 |
|
| 93 |
# UI Description
|
| 94 |
-
description = "⚠ Currently running on CPU — expect slower performance. Thank you for your patience."
|
| 95 |
|
| 96 |
# Gradio Interface
|
| 97 |
demo = gr.Interface(
|
|
@@ -106,5 +106,6 @@ demo = gr.Interface(
|
|
| 106 |
gr.File(label="Download Enhanced Image")
|
| 107 |
],
|
| 108 |
description=description,
|
| 109 |
-
|
|
|
|
| 110 |
).queue(max_size=50).launch()
|
|
|
|
| 91 |
return None, None
|
| 92 |
|
| 93 |
# UI Description
|
| 94 |
+
description = """<div style="color: yellow; font-weight: bold; font-size: 16px; margin-bottom: 10px;"> ⚠ Currently running on CPU — expect slower performance. Thank you for your patience. </div>"""
|
| 95 |
|
| 96 |
# Gradio Interface
|
| 97 |
demo = gr.Interface(
|
|
|
|
| 106 |
gr.File(label="Download Enhanced Image")
|
| 107 |
],
|
| 108 |
description=description,
|
| 109 |
+
theme="Yntec/HaleyCH_Theme_Orange",
|
| 110 |
+
|
| 111 |
).queue(max_size=50).launch()
|