1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-28 01:10:52 +01:00

Merge branch 'upscayl:main' into main

This commit is contained in:
Danik1601 2023-05-09 23:13:07 +03:00 committed by GitHub
commit e848b95835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@
#### Free and Open Source AI Image Upscaler #### Free and Open Source AI Image Upscaler
![884shots_so](https://user-images.githubusercontent.com/25067102/224690031-7b52b455-2d42-43f6-966a-3389cb61ae23.png) ![216shots_so](https://github.com/upscayl/upscayl/assets/25067102/ca4c118b-2b9a-4652-adc3-871e1cd19ecc)
**Upscayl is a cross-platform application built with the Linux-first philosophy. This means that we prioritize Linux builds over others but that doesn't mean we'll break things for other OSes :)** **Upscayl is a cross-platform application built with the Linux-first philosophy. This means that we prioritize Linux builds over others but that doesn't mean we'll break things for other OSes :)**
@ -86,7 +86,9 @@
3. Double click exe file, wait for installation, profit. 3. Double click exe file, wait for installation, profit.
# Comparisons: https://imgsli.com/MTQzMjI4/0/1 # [Wiki - Tutorials and Guides](https://github.com/upscayl/upscayl/wiki/Guide)
# [Comparisons](https://imgsli.com/MTQzMjI4/0/1)
#### Medium Resolution Images (300-400 pixels wide): #### Medium Resolution Images (300-400 pixels wide):
@ -108,14 +110,12 @@
You can track all the progress here: https://github.com/orgs/upscayl/projects/1 You can track all the progress here: https://github.com/orgs/upscayl/projects/1
- Allow custom models
- Logging
- Fix bugs - Fix bugs
- Make the whole world use FOSS (WIP 🚧) - Make the whole world use FOSS (WIP 🚧)
# Development 🛠 # Development 🛠
I recommend using Volta: https://volta.sh for using Node.js. I recommend using Volta: https://volta.sh for installing Node.js.
Download and install volta, then do: `volta install node`. Download and install volta, then do: `volta install node`.
```bash ```bash
@ -141,11 +141,11 @@ npm run publish-app
# FAQ 🤓 # FAQ 🤓
- How does Upscayl work? - How does Upscayl work?
- Upscayl uses AI models to enhance your images by guessing what the details could be. It uses Real-ESRGAN (and more in the future) model to achieve this. - Upscayl uses AI models to enhance your images by guessing what the details could be. It uses Real-ESRGAN to achieve this.
- Is there a CLI available? - Is there a CLI available?
- The CLI tool is called real-esrgan-ncnn-vulkan and it's available on the Real-ESRGAN repository. - The CLI tool is called real-esrgan-ncnn-vulkan and it's available on the Real-ESRGAN repository.
- Do I need a GPU for this to work? - Do I need a GPU for this to work?
- Yes, unfortunately. NCNN Vulkan requires a Vulkan compatible GPU. Upscayl won't work with **most** iGPUs or CPUs. - Yes, unfortunately. NCNN Vulkan requires a Vulkan compatible GPU. Upscayl won't work with **most** iGPUs or CPUs. But hey, no harm in trying ;)
- Why does batch upscaling output JPGs instead of PNGs? - Why does batch upscaling output JPGs instead of PNGs?
- This is an issue with REAL-ERSGAN currently tracked [here](https://github.com/upscayl/upscayl/issues/174). - This is an issue with REAL-ERSGAN currently tracked [here](https://github.com/upscayl/upscayl/issues/174).
- How can I contribute? - How can I contribute?

View File

@ -302,8 +302,8 @@ ipcMain.handle(commands.SELECT_CUSTOM_MODEL_FOLDER, async (event, message) => {
customModelsFolderPath = folderPaths[0]; customModelsFolderPath = folderPaths[0];
if ( if (
!folderPaths[0].endsWith("/models") && !folderPaths[0].endsWith(slash + "models") &&
!folderPaths[0].endsWith("/models/") !folderPaths[0].endsWith(slash + "models" + slash)
) { ) {
logit("❌ Invalid Custom Models Folder Detected: Not a 'models' folder"); logit("❌ Invalid Custom Models Folder Detected: Not a 'models' folder");
const options: MessageBoxOptions = { const options: MessageBoxOptions = {