Instructions to use kisambu/tuberculoscan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use kisambu/tuberculoscan with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://kisambu/tuberculoscan") - Notebooks
- Google Colab
- Kaggle
Download application2/windows/runner/flutter_window.h from kisambu/tuberculoscan: direct link, hf CLI and curl.
- Browser
- Download file 961 Bytes
-
https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/windows/runner/flutter_window.h
- Command line
-
hf download hf://kisambu/tuberculoscan/application2/windows/runner/flutter_window.h
-
curl -L -o flutter_window.h https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/windows/runner/flutter_window.h
961 Bytes
| // A window that does nothing but host a Flutter view. | |
| class FlutterWindow : public Win32Window { | |
| public: | |
| // Creates a new FlutterWindow hosting a Flutter view running |project|. | |
| explicit FlutterWindow(const flutter::DartProject& project); | |
| virtual ~FlutterWindow(); | |
| protected: | |
| // Win32Window: | |
| bool OnCreate() override; | |
| void OnDestroy() override; | |
| LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, | |
| LPARAM const lparam) noexcept override; | |
| private: | |
| // The project to run. | |
| flutter::DartProject project_; | |
| // The Flutter instance hosted by this window. | |
| std::unique_ptr<flutter::FlutterViewController> flutter_controller_; | |
| }; | |