Spaces:
Running
Running
Commit
·
71397d5
1
Parent(s):
d8031ee
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def show_message():
|
4 |
-
|
5 |
-
|
6 |
-
<
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
11 |
|
12 |
iface = gr.Interface(fn=show_message, inputs=[], outputs="html", title="GPU Provider Needed")
|
13 |
iface.launch()
|
|
|
1 |
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()
|