ProyectoVision commited on
Commit
e206298
·
1 Parent(s): befc4d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  import numpy as np
3
 
@@ -10,8 +11,9 @@ demo = gr.Interface(
10
  "image",
11
  live=True,
12
  )
13
- demo.launch()
14
-
 
15
  '''
16
  import gradio as gr
17
  import os
 
1
+
2
  import gradio as gr
3
  import numpy as np
4
 
 
11
  "image",
12
  live=True,
13
  )
14
+ if __name__ == "__main__":
15
+ demo.launch()
16
+
17
  '''
18
  import gradio as gr
19
  import os