warhawkmonk commited on
Commit
cb6fd81
·
verified ·
1 Parent(s): f4c0bab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ def consume_llm_api(prompt):
33
  """
34
  Sends a prompt to the LLM API and processes the streamed response.
35
  """
36
- url = "https://4563-201-238-124-65.ngrok-free.app/api/llm-response"
37
  headers = {"Content-Type": "application/json"}
38
  payload = {"prompt": prompt}
39
 
@@ -117,7 +117,7 @@ def model_single_out(prompt):
117
  return image
118
 
119
  def model_out_put(init_image,mask_image,prompt,negative_prompt):
120
- API_URL = "https://4563-201-238-124-65.ngrok-free.app/api/llm-response"
121
  initial_image_base64 = numpy_to_list(np.array(init_image))
122
  mask_image_base64 = numpy_to_list(np.array(mask_image))
123
  payload = {
 
33
  """
34
  Sends a prompt to the LLM API and processes the streamed response.
35
  """
36
+ url = "https://8417-201-238-124-65.ngrok-free.app/api/llm-response"
37
  headers = {"Content-Type": "application/json"}
38
  payload = {"prompt": prompt}
39
 
 
117
  return image
118
 
119
  def model_out_put(init_image,mask_image,prompt,negative_prompt):
120
+ API_URL = "https://8417-201-238-124-65.ngrok-free.app/api/llm-response"
121
  initial_image_base64 = numpy_to_list(np.array(init_image))
122
  mask_image_base64 = numpy_to_list(np.array(mask_image))
123
  payload = {