Spaces:

WideMax commited on
Commit
a540b30
1 Parent(s): c6b066f

Update server

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -37,7 +37,6 @@ def edit(image, source_prompt, target_prompt, config, progress=gr.Progress(track
37
  raise ValueError("Need to upload an image and enter init and edit prompts")
38
 
39
  image_bytes = get_bytes(image)
40
- os.environ['SERVER'] = "0.0.0.0:50052"
41
  with grpc.insecure_channel(os.environ['SERVER']) as channel:
42
  stub = GuideAndRescaleServiceStub(channel)
43
 
 
37
  raise ValueError("Need to upload an image and enter init and edit prompts")
38
 
39
  image_bytes = get_bytes(image)
 
40
  with grpc.insecure_channel(os.environ['SERVER']) as channel:
41
  stub = GuideAndRescaleServiceStub(channel)
42