ps1811 commited on
Commit
92a384f
·
verified ·
1 Parent(s): ace0bab
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -102,17 +102,20 @@
102
 
103
  # demo.launch()
104
 
105
- print("STARTING APP")
106
-
107
  import gradio as gr
108
 
 
 
109
  demo = gr.Blocks()
110
 
111
  with demo:
112
- gr.Markdown("HELLO WORLD")
113
 
114
  print("BEFORE LAUNCH")
115
 
116
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
 
 
117
 
118
  print("AFTER LAUNCH")
 
102
 
103
  # demo.launch()
104
 
 
 
105
  import gradio as gr
106
 
107
+ print("STARTING APP")
108
+
109
  demo = gr.Blocks()
110
 
111
  with demo:
112
+ gr.Markdown("Hello")
113
 
114
  print("BEFORE LAUNCH")
115
 
116
+ demo.launch(
117
+ server_name="0.0.0.0",
118
+ server_port=7860
119
+ )
120
 
121
  print("AFTER LAUNCH")