Closed
Description
Read Troubleshoot
[x] I admit that I have read the Troubleshoot before making this issue.
Describe the problem
Styles preview generated empty overlay and many errors in browser console (with wrong addresses to style preview images).
GET http://127.0.0.1:7865/file=z:%0Fooocus%0Fooocussdxl_stylessamples%0Fooocus_v2.jpg?1704714217.6107707 404 (Not Found)
{"detail":"File not found: z:\u000fooocus\u000fooocussdxl_stylessamples\u000fooocus_v2.jpg."}
Full Console Log
Fooocus started with .\python_embeded\python.exe -s Fooocus\entry_with_update.py --theme dark
I make print variables from ui_gradio_extensions.py and see correct path in head:
Fooocus version: 2.1.861
samples_path
file=z:\Fooocus\Fooocus\sdxl_styles\samples\fooocus_v2.jpg?1704714217.6107707
head
<script type="text/javascript">window.localization = {}</script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\script.js?1704714217.9068532"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\contextMenus.js?1698535460.3770072"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\localization.js?1704714217.9068532"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\zoom.js?1702926353.1092124"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\edit-attention.js?1699772791.0943055"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\viewer.js?1700072679.700241"></script>
<script type="text/javascript" src="file=z:\Fooocus\Fooocus\javascript\imageviewer.js?1700072679.6992412"></script>
<meta name="samples-path" content="file=z:\Fooocus\Fooocus\sdxl_styles\samples\fooocus_v2.jpg?1704714217.6107707"></meta>
<script type="text/javascript">set_theme("dark");</script>