Seth Robinson
Seth Robinson
Woot! This would be great. I'm currently using an ugly, brittle, hacky way to use the current system as an API (by faking gradio-type requests) for my custom native client...
Would also be nice to have API versioning. (Like the client could send the requested version of the api in requests (ie, first version is 1 or whatever), to gracefully...
I've added features to [api.py](https://github.com/SethRobinson/aitools_server/blob/master/modules/api.py) on my fork: * Fixed compatibility with pre python 3.9, [TomJamesPearce](https://github.com/TomJamesPearce)'s initial api.py gave me "TypeError: 'type' object is not subscriptable" errors * Added img2img/inpainting,...
Hmm. This is with the test in the [notebook](https://github.com/SethRobinson/aitools_server/blob/master/aitools/api_tester_jupyter_notebook.ipynb)? When it has an error like this, it usually sends back something in the client response that might be a clue....
Yay, this is a big step in the right direction. Some comments for anybody else having problems: Currently --api is ignored if launch.py is used due to how it hits...
That's the beauty of the new system - just edit local.properties and change the app id there and the entire build will use it instead. Everything in shared can stay...
Hmm - I suspect you might have changed one you shouldn't have maybe? Make sure you DIDN'T change the ID in AndroidGradle\app\build.gradle, AndroidGradle\app\src\main\java\com\rtsoft\RTAndroidApp\Main.java or AndroidGradle\app\src\main\cpp\CMakeList.txt. I was about to tell...
RTSimpleApp should compile and run without problems - but keep in mind if you DO change the package name, it HAS to match the package name in App.cpp as well....
I don't understand how I got a notification about a post here (the one with screenshots) that isn't actually in this thread, heh. Anyway, I've recently switched machines again so...
I updated the gradle files for both sample projects. Removed fmod from rtsimpleapp, hopefully it works for ya now