commit 7b7b8983b37dad0e54bf33298a295d706f2259d6
parent dd2387d9f83a13c527b7ecf11fe53e5e0907eb0e
Author: maydayv7 <maydayv7@gmail.com>
Date: Sun, 19 Apr 2026 10:53:02 +0530
Update deps
Diffstat:
8 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
@@ -31,7 +31,7 @@ if (keystorePropertiesFile.exists()) {
android {
namespace = "com.creek.ui"
compileSdk = flutter.compileSdkVersion
- ndkVersion = "27.0.12077973"
+ ndkVersion = "28.2.13676358"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
diff --git a/flask/README.md b/flask/README.md
@@ -7,7 +7,8 @@ This project provides a unified AI backend for image generation, inpainting, bac
Runs on your local machine.
> [!IMPORTANT]
-> Requires Cuda-enabled NVIDIA GPU
+> Requires Cuda-enabled NVIDIA GPU
+> Might require additional intervention for PyTorch installation
To run backend locally, run the following commands:
@@ -16,6 +17,9 @@ pip install -r requirements.txt
python ./index.py
```
+> [!NOTE]
+> Tested on Python 3.11, compatibility with other versions is not guaranteed
+
## 2. Cloud Server (`modal_app.py`)
Deploys to [Modal.com](https://modal.com) for serverless GPU inference.
diff --git a/flask/index.py b/flask/index.py
@@ -314,6 +314,7 @@ if FLORENCE_AVAILABLE:
else:
print(f"⚠️ Florence-2 folder not found at: {FLORENCE_PATH}")
except Exception as e:
+ import traceback; traceback.print_exc()
print(f"❌ Failed to load Florence-2: {e}")
diff --git a/flask/requirements.txt b/flask/requirements.txt
@@ -1,3 +1,4 @@
+--extra-index-url https://download.pytorch.org/whl/cu130
accelerate
bitsandbytes
diffusers
@@ -19,4 +20,4 @@ timm
toml
torch
torchvision
-transformers
+transformers==4.57.3
diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake
@@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
+ jni
onnxruntime
)
diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -6,14 +6,12 @@ import FlutterMacOS
import Foundation
import file_selector_macos
-import path_provider_foundation
import share_plus
import shared_preferences_foundation
import sqflite_darwin
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
- PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
diff --git a/shell.nix b/shell.nix
@@ -27,6 +27,7 @@ let
cmakeVersions = [ "3.22.1" ];
includeNDK = true;
ndkVersions = [
+ "28.2.13676358"
"27.0.12077973"
"26.3.11579264"
];
diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
+ jni
onnxruntime
)