Files
SHARK-Studio/web
Abhishek Varma e60b4568c6 [SharkInference] Make SharkInference compile the entire module (#708)
* [SharkInference] Make SharkInference compile the entire module

-- Previously SharkInference was compiling and providing run APIs
   for a harcoded function with function name "forward".
-- This commit makes the compiling functionality generic and now
   any function being defined within the module can be run.
-- It also creates an API to fetch all the function names defined
   within the compiled module.
-- This commit updates both web and command-line execution of Stable
   Diffusion to use new API of  SharkInference.

Signed-off-by: Abhishek Varma <abhishek@nod-labs.com>
2023-01-03 23:25:23 +05:30
..
2022-11-02 20:52:34 +05:30
2022-12-21 19:23:54 -08:00

In order to launch SHARK-web, from the root SHARK directory, run:

Linux

IMPORTER=1 ./setup_venv.sh
source shark.venv/bin/activate
cd web
python index.py

Windows

./setup_venv.ps1
cd web
python index.py --local_tank_cache=<current_working_dir>