daveckw commited on
Commit
5c9ad8f
·
1 Parent(s): 579a9b1

Edit ngrok

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,7 @@ initial_height = 512
13
 
14
  params = {
15
  "enable_SD_api": True,
16
- "address": "https://ae48-2001-d08-e3-41de-258c-811d-a13b-a6f.ngrok-free.app",
17
  "save_img": True,
18
  "SD_model": "Unused", # not actually used
19
  "prompt_prefix": "4k, 8k, masterpiece, artstation, in dressed",
@@ -87,6 +87,7 @@ def display_image(description: str, kashif: bool, daniel_ho: bool) -> gr.Image:
87
  params["height"] = initial_height
88
 
89
  visible_result = get_SD_pictures(description)
 
90
  image_data = base64.b64decode(visible_result.split(",", 1)[1])
91
  image = Image.open(io.BytesIO(image_data))
92
  return image
 
13
 
14
  params = {
15
  "enable_SD_api": True,
16
+ "address": "https://fb9f-2001-d08-e3-41de-e9bf-9904-76d2-5584.ngrok-free.app",
17
  "save_img": True,
18
  "SD_model": "Unused", # not actually used
19
  "prompt_prefix": "4k, 8k, masterpiece, artstation, in dressed",
 
87
  params["height"] = initial_height
88
 
89
  visible_result = get_SD_pictures(description)
90
+ print(description)
91
  image_data = base64.b64decode(visible_result.split(",", 1)[1])
92
  image = Image.open(io.BytesIO(image_data))
93
  return image