artificialguybr commited on
Commit
9ed9ff1
·
1 Parent(s): 2743be4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -1,14 +1,12 @@
1
  import gradio as gr
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()
 
1
  import gradio as gr
2
 
3
  def show_message():
4
+ return """
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
 
11
  iface = gr.Interface(fn=show_message, inputs=[], outputs="html", title="GPU Provider Needed")
12
+ iface.launch()