Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change path_outputs, error occurred #907

Closed
tiancool opened this issue Nov 11, 2023 · 4 comments · Fixed by #2332
Closed

Change path_outputs, error occurred #907

tiancool opened this issue Nov 11, 2023 · 4 comments · Fixed by #2332
Labels
bug Something isn't working
Milestone

Comments

@tiancool
Copy link

tiancool commented Nov 11, 2023

Modify "path_outputs": "/Users/mymac/AIGC/outputs",

The generated log cannot be opened:
{"detail":"File not allowed: /Users/mymac/AIGC/outputs/2023-11-12/log.html."}

macOS Sonoma 14.1

@lllyasviel
Copy link
Owner

this seems a protection - if it gives you the file, then visitors can get any files from your computer as long as the port is open for internet access.
but we will take a look and see if there are workarounds

@mashb1t mashb1t added the bug Something isn't working label Dec 31, 2023
@rafstahelin
Copy link

Is there a solution to this? I am using a custom output path. I get the same error. Is it firewall or maybe chrome protecting

@9Somboon
Copy link

same

@mashb1t
Copy link
Collaborator

mashb1t commented Feb 22, 2024

This is the intended behaviour, see gradio-app/gradio#4118 (comment). Fixed in #2332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants