Akimitsujiro commited on
Commit
357ee77
·
verified ·
1 Parent(s): 4e6ca45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -1,8 +1,13 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
- return "This version is currently broken, please switch to another version. See my Bio for more information."
 
 
 
 
 
6
 
7
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
- demo.launch()
 
1
  import gradio as gr
2
 
3
+ def display_html():
4
+ html_content = """
5
+ <div style="text-align: center;">
6
+ <h1>Hello!</h1>
7
+ <p> This Space is currently down....please switch to the Spaces I'm about to launch....Thanks for your support!</p>
8
+ </div>
9
+ """
10
+ return html_content
11
 
12
+ with gr.Interface(fn=display_html, inputs=[], outputs=gr.HTML()):
13
+ gr.Interface.launch()