Spaces:
Build error
Build error
Commit
·
5a889e0
1
Parent(s):
6a9dffd
Update header_patch.py
Browse files- header_patch.py +6 -6
header_patch.py
CHANGED
|
@@ -5,26 +5,26 @@
|
|
| 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"=""></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"=""></p>
|
| 15 |
</div>
|
| 16 |
""")
|
| 17 |
elif os.environ.get("SPACE_ID"):
|
| 18 |
import torch
|
| 19 |
if not torch.cuda.is_available():
|
| 20 |
gr.HTML(f"""
|
| 21 |
-
<div class="gr-prose" style="max-width: 80%; font-size:
|
| 22 |
-
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"=""></p>
|
| 23 |
</div>
|
| 24 |
""")
|
| 25 |
else:
|
| 26 |
gr.HTML(f"""
|
| 27 |
-
<div class="gr-prose" style="max-width: 80%; font-size:
|
| 28 |
-
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"=""></p>
|
| 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"):
|
| 18 |
import torch
|
| 19 |
if not torch.cuda.is_available():
|
| 20 |
gr.HTML(f"""
|
| 21 |
+
<div class="gr-prose" style="max-width: 80%; font-size: 20px; line-height: 20px; font-family: monospace;">
|
| 22 |
+
<p>▲ 我的網站<a href="https://jtlai0921.wixsite.com/mysite" style="target=" _blank"=""></a></p>
|
| 23 |
</div>
|
| 24 |
""")
|
| 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 |
""")
|