Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def query(prompt, negative_prompt, steps=4, cfg_scale=0, seed=-1, width=1024, he
|
|
174 |
return image, "<p style='color: red; text-align: center;'>Internal Error: Failed to confirm image file save.</p>"
|
175 |
|
176 |
space_name = "greendra-stable-diffusion-3-5-large-serverless"
|
177 |
-
relative_file_url = f"file={save_path}"
|
178 |
encoded_file_url = quote(relative_file_url)
|
179 |
arinteli_url = f"{ARINTELI_REDIRECT_BASE}?download_url={encoded_file_url}&space_name={space_name}"
|
180 |
|
|
|
174 |
return image, "<p style='color: red; text-align: center;'>Internal Error: Failed to confirm image file save.</p>"
|
175 |
|
176 |
space_name = "greendra-stable-diffusion-3-5-large-serverless"
|
177 |
+
relative_file_url = f"gradio_api/file={save_path}"
|
178 |
encoded_file_url = quote(relative_file_url)
|
179 |
arinteli_url = f"{ARINTELI_REDIRECT_BASE}?download_url={encoded_file_url}&space_name={space_name}"
|
180 |
|