artificialguybr commited on
Commit
71397d5
·
1 Parent(s): d8031ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -1,13 +1,14 @@
1
  import gradio as gr
2
 
3
  def show_message():
4
- message = """
5
- <div style='text-align: center; font-size: 24px;'>
6
- <p>HF Spaces Closed Due to Lack of GPU.</p>
7
- <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>
8
- </div>
9
- """
10
- return message
 
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()