Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def consume_llm_api(prompt):
|
|
28 |
"""
|
29 |
Sends a prompt to the LLM API and processes the streamed response.
|
30 |
"""
|
31 |
-
url = "https://
|
32 |
headers = {"Content-Type": "application/json"}
|
33 |
payload = {"prompt": prompt}
|
34 |
|
@@ -88,7 +88,7 @@ def model_single_out(prompt):
|
|
88 |
return image
|
89 |
|
90 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
91 |
-
API_URL = "https://
|
92 |
initial_image_base64 = numpy_to_list(np.array(init_image))
|
93 |
mask_image_base64 = numpy_to_list(np.array(mask_image))
|
94 |
payload = {
|
|
|
28 |
"""
|
29 |
Sends a prompt to the LLM API and processes the streamed response.
|
30 |
"""
|
31 |
+
url = "https://beige-streets-say.loca.lt/api/llm-response"
|
32 |
headers = {"Content-Type": "application/json"}
|
33 |
payload = {"prompt": prompt}
|
34 |
|
|
|
88 |
return image
|
89 |
|
90 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
91 |
+
API_URL = "https://d925-205-196-17-124.ngrok-free.app/api/llm-response"
|
92 |
initial_image_base64 = numpy_to_list(np.array(init_image))
|
93 |
mask_image_base64 = numpy_to_list(np.array(mask_image))
|
94 |
payload = {
|