akhaliq HF Staff commited on
Commit
54b69a0
·
verified ·
1 Parent(s): b7f6491

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -31,7 +31,6 @@ background_remover = GradioNode(
31
  "image": glm_image.image, # Connect the output of the GLM Image node to the input of the background remover node
32
  },
33
  outputs={
34
- "original_image": None, # Original image is returned but not displayed
35
  "final_image": gr.Image(
36
  label="Final Image"
37
  ), # Transparent bg image is displayed
@@ -42,4 +41,4 @@ graph = Graph(
42
  name="Transparent Background Image Generator", nodes=[glm_image, background_remover]
43
  )
44
 
45
- graph.launch()
 
31
  "image": glm_image.image, # Connect the output of the GLM Image node to the input of the background remover node
32
  },
33
  outputs={
 
34
  "final_image": gr.Image(
35
  label="Final Image"
36
  ), # Transparent bg image is displayed
 
41
  name="Transparent Background Image Generator", nodes=[glm_image, background_remover]
42
  )
43
 
44
+ graph.launch(host="0.0.0.0", port=7860)