warhawkmonk commited on
Commit
10d593a
·
verified ·
1 Parent(s): c15bedb

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://dade-194-26-196-170.ngrok-free.app/api/llm-response"
37
  headers = {"Content-Type": "application/json"}
38
  payload = {"prompt": prompt}
39
 
@@ -106,7 +106,7 @@ def model_single_out(prompt):
106
  return image
107
 
108
  def model_out_put(init_image,mask_image,prompt,negative_prompt):
109
- API_URL = "https://dade-194-26-196-170.ngrok-free.app/api/llm-response"
110
  initial_image_base64 = numpy_to_list(np.array(init_image))
111
  mask_image_base64 = numpy_to_list(np.array(mask_image))
112
  payload = {
 
33
  """
34
  Sends a prompt to the LLM API and processes the streamed response.
35
  """
36
+ url = "https://def5-194-26-196-170.ngrok-free.app/api/llm-response"
37
  headers = {"Content-Type": "application/json"}
38
  payload = {"prompt": prompt}
39
 
 
106
  return image
107
 
108
  def model_out_put(init_image,mask_image,prompt,negative_prompt):
109
+ API_URL = "https://def5-194-26-196-170.ngrok-free.app/api/llm-response"
110
  initial_image_base64 = numpy_to_list(np.array(init_image))
111
  mask_image_base64 = numpy_to_list(np.array(mask_image))
112
  payload = {