Spaces:
Running
Running
Commit
·
2743be4
1
Parent(s):
71397d5
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,13 @@ import gradio as gr
|
|
2 |
|
3 |
def show_message():
|
4 |
return gr.HTML(
|
5 |
-
"""
|
6 |
<div style='text-align: center; font-size: 24px;'>
|
7 |
<p>HF Spaces Closed Due to Lack of GPU.</p>
|
8 |
<p>If you are a GPU Provider and would like to provide GPU for this HF Space in exchange for publicity, please contact us on Twitter <a href='https://twitter.com/artificialguybr'>@artificialguybr</a>.</p>
|
9 |
</div>
|
10 |
"""
|
11 |
-
)
|
12 |
|
13 |
iface = gr.Interface(fn=show_message, inputs=[], outputs="html", title="GPU Provider Needed")
|
14 |
iface.launch()
|
|
|
2 |
|
3 |
def show_message():
|
4 |
return gr.HTML(
|
5 |
+
value="""
|
6 |
<div style='text-align: center; font-size: 24px;'>
|
7 |
<p>HF Spaces Closed Due to Lack of GPU.</p>
|
8 |
<p>If you are a GPU Provider and would like to provide GPU for this HF Space in exchange for publicity, please contact us on Twitter <a href='https://twitter.com/artificialguybr'>@artificialguybr</a>.</p>
|
9 |
</div>
|
10 |
"""
|
11 |
+
).get_html()
|
12 |
|
13 |
iface = gr.Interface(fn=show_message, inputs=[], outputs="html", title="GPU Provider Needed")
|
14 |
iface.launch()
|