Spaces:
Build error
Build error
Commit
·
6043a56
1
Parent(s):
5a889e0
Update header_patch.py
Browse files- header_patch.py +3 -3
header_patch.py
CHANGED
|
@@ -5,13 +5,13 @@
|
|
| 5 |
if not torch.cuda.is_available():
|
| 6 |
gr.HTML(f"""
|
| 7 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 8 |
-
<p
|
| 9 |
</div>
|
| 10 |
""")
|
| 11 |
else:
|
| 12 |
gr.HTML(f"""
|
| 13 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 14 |
-
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"=""
|
| 15 |
</div>
|
| 16 |
""")
|
| 17 |
elif os.environ.get("SPACE_ID"):
|
|
@@ -25,6 +25,6 @@
|
|
| 25 |
else:
|
| 26 |
gr.HTML(f"""
|
| 27 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 28 |
-
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"=""
|
| 29 |
</div>
|
| 30 |
""")
|
|
|
|
| 5 |
if not torch.cuda.is_available():
|
| 6 |
gr.HTML(f"""
|
| 7 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 8 |
+
<p><a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"="">▲ 我的網站</a></p>
|
| 9 |
</div>
|
| 10 |
""")
|
| 11 |
else:
|
| 12 |
gr.HTML(f"""
|
| 13 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 14 |
+
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"="">▲ 我的網站</a></p>
|
| 15 |
</div>
|
| 16 |
""")
|
| 17 |
elif os.environ.get("SPACE_ID"):
|
|
|
|
| 25 |
else:
|
| 26 |
gr.HTML(f"""
|
| 27 |
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 28 |
+
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"="">▲ 我的網站</a></p>
|
| 29 |
</div>
|
| 30 |
""")
|