tungedng2710 commited on
Commit
61b248d
·
1 Parent(s): 3586f52
Files changed (1) hide show
  1. query_comfyui.py +1 -1
query_comfyui.py CHANGED
@@ -20,7 +20,7 @@ def queue_prompt(prompt):
20
  def get_image(filename, subfolder, folder_type):
21
  data = {"filename": filename, "subfolder": subfolder, "type": folder_type}
22
  url_values = urllib.parse.urlencode(data)
23
- with urllib.request.urlopen("http://{}/view?{}".format(server_address, url_values)) as response:
24
  return response.read()
25
 
26
  def get_history(prompt_id):
 
20
  def get_image(filename, subfolder, folder_type):
21
  data = {"filename": filename, "subfolder": subfolder, "type": folder_type}
22
  url_values = urllib.parse.urlencode(data)
23
+ with urllib.request.urlopen("https://{}/view?{}".format(server_address, url_values)) as response:
24
  return response.read()
25
 
26
  def get_history(prompt_id):