Fahimeh Orvati Nia commited on
Commit
69b6a19
·
1 Parent(s): 2406d47
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -4,7 +4,6 @@ from pathlib import Path
4
  from wrapper import run_pipeline_on_image
5
  from PIL import Image
6
 
7
- import os
8
 
9
  def process(file_path):
10
  if not file_path:
@@ -88,9 +87,4 @@ with gr.Blocks() as demo:
88
  )
89
 
90
  if __name__ == "__main__":
91
- demo.launch(
92
- server_name="0.0.0.0",
93
- server_port=7860,
94
- ssr_mode=False
95
- )
96
-
 
4
  from wrapper import run_pipeline_on_image
5
  from PIL import Image
6
 
 
7
 
8
  def process(file_path):
9
  if not file_path:
 
87
  )
88
 
89
  if __name__ == "__main__":
90
+ demo.launch()