Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def consume_llm_api(prompt):
|
|
32 |
"""
|
33 |
Sends a prompt to the LLM API and processes the streamed response.
|
34 |
"""
|
35 |
-
url = "https://
|
36 |
headers = {"Content-Type": "application/json"}
|
37 |
payload = {"prompt": prompt}
|
38 |
|
@@ -105,7 +105,7 @@ def model_single_out(prompt):
|
|
105 |
return image
|
106 |
|
107 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
108 |
-
API_URL = "https://
|
109 |
initial_image_base64 = numpy_to_list(np.array(init_image))
|
110 |
mask_image_base64 = numpy_to_list(np.array(mask_image))
|
111 |
payload = {
|
|
|
32 |
"""
|
33 |
Sends a prompt to the LLM API and processes the streamed response.
|
34 |
"""
|
35 |
+
url = "https://hot-eyes-shop.loca.lt/api/llm-response"
|
36 |
headers = {"Content-Type": "application/json"}
|
37 |
payload = {"prompt": prompt}
|
38 |
|
|
|
105 |
return image
|
106 |
|
107 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
108 |
+
API_URL = "https://breezy-streets-call.loca.lt/api/llm-response"
|
109 |
initial_image_base64 = numpy_to_list(np.array(init_image))
|
110 |
mask_image_base64 = numpy_to_list(np.array(mask_image))
|
111 |
payload = {
|