wenmengzhou commited on
Commit
1562edc
1 Parent(s): 82f5baf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -13
app.py CHANGED
@@ -1,17 +1,20 @@
1
  import gradio as gr
2
 
3
- def show_markdown():
4
- # Markdown content to be displayed
5
- markdown_content = """
6
- ## Coming soon
7
 
8
- Gradio for https://aigc3d.github.io/motionshop/, please stay tuned.
9
-
10
- """
11
- return markdown_content
12
-
13
- # Creating a Gradio interface to display the markdown
14
- interface = gr.Interface(fn=show_markdown, inputs=[], outputs="markdown")
 
 
 
15
 
16
- # Display the interface inline for demonstration purposes
17
- interface.launch()
 
1
  import gradio as gr
2
 
3
+ def main():
4
+ with gr.Blocks() as demo:
5
+ gr.Markdown("""
6
+ ## Coming soon
7
 
8
+ Gradio for https://aigc3d.github.io/motionshop/, please stay tuned
9
+ """)
10
+
11
+
12
+ demo.queue().launch(
13
+ share=args.share,
14
+ # inbrowser=args.inbrowser,
15
+ # server_port=args.server_port,
16
+ # server_name=args.server_name,
17
+ )
18
 
19
+ if __name__ == '__main__':
20
+ main()