ml-worker / app.py

Commit History

Attempt to display CPU and GPU usage
4be4da9

inoki-giskard commited on

Use `--hf-token` to pass Space token
aeabc6f

inoki-giskard commited on

Start detection in another thread
f5dcb41

inoki-giskard commited on

Add GPU detection before running for logging
44ac6bc

inoki-giskard commited on

Avoid stop current running ML worker until exit
c0e96e4

inoki-giskard commited on

Do not allow modification when `READONLY` env set
1bbdc1e

inoki-giskard commited on

Automatically start ML worker if env provided
ff04f99

inoki-giskard commited on

Use log to replace print
6401503

inoki-giskard commited on

Make token and hf token password
4ad28b6

inoki-giskard commited on

Show a tip for Hugging Face Spaces token
97e37df

inoki-giskard commited on

Set ML worker to None after exiting
629a811

inoki-giskard commited on

Allow to set Giskard key from env
e05b343

inoki-giskard commited on

Handle the error when no log file
28e9187

inoki-giskard commited on

Read status every 5 seconds
bfb27a7

inoki-giskard commited on

Use popen to have a reference on ML worker process
2ecd2bd

inoki-giskard commited on

Use a subprocess to run ML worker
59166be

inoki-giskard commited on

Allow to start and stop worker
6348ca6

inoki-giskard commited on

Run only one ML worker
66e8b15

inoki-giskard commited on

Try to start ML worker in async main
93b6465

inoki-giskard commited on

Do not set default port for external ML worker
bdb6803

inoki-giskard commited on

Run ML worker from Gradio
4708837

inoki-giskard commited on