Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,13 @@ LICENSE = """
|
|
| 20 |
---
|
| 21 |
a
|
| 22 |
"""
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
if not torch.cuda.is_available():
|
| 25 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|
| 26 |
|
|
|
|
| 20 |
---
|
| 21 |
a
|
| 22 |
"""
|
| 23 |
+
PLACEHOLDER = """
|
| 24 |
+
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
| 25 |
+
<img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/8e75e61cc9bab22b7ce3dec85ab0e6db1da5d107/Meta_lockup_positive%20primary_RGB.jpg" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
|
| 26 |
+
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">gemma10m</h1>
|
| 27 |
+
<p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Ask me anything...</p>
|
| 28 |
+
</div>
|
| 29 |
+
"""
|
| 30 |
if not torch.cuda.is_available():
|
| 31 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|
| 32 |
|