Spaces:
Runtime error
Runtime error
TA
commited on
Commit
·
c390ea0
1
Parent(s):
edf2a04
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,15 @@ import os
|
|
6 |
import requests
|
7 |
|
8 |
html_temp = """
|
9 |
-
<div style="
|
10 |
-
<
|
|
|
|
|
|
|
|
|
|
|
11 |
</div>
|
12 |
-
"""
|
13 |
|
14 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|
15 |
|
|
|
6 |
import requests
|
7 |
|
8 |
html_temp = """
|
9 |
+
<div style="text-align: center; background-color: #f4f4f4; padding: 20px; border-radius: 10px; position: relative;">
|
10 |
+
<h1 style="color: #333;">{}</h1>
|
11 |
+
<div style="position: absolute; top: 0; right: 0;">
|
12 |
+
<img src='https://your-enticing-image-url.jpg' alt='Enticing Image' style='width: 100px; height: 100px; border-radius: 50%;'>
|
13 |
+
</div>
|
14 |
+
<img src='https://huggingface.co/spaces/NerdN/open-gpt-Image-Prompter/blob/main/_45a03b4d-ea0f-4b81-873d-ff6b10461d52.jpg' alt='Your Image' style='width: 300px; height: 300px; border-radius: 50%;'>
|
15 |
+
<p style="font-size: 18px; color: #555;">{}</p>
|
16 |
</div>
|
17 |
+
""".format(TITLE, EXAMPLE_INPUT)
|
18 |
|
19 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|
20 |
|