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/lib/firebase_options.dart from kisambu/tuberculoscan: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/firebase_options.dart
- Command line
-
hf download hf://kisambu/tuberculoscan/application2/lib/firebase_options.dart
-
curl -L -o firebase_options.dart https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/firebase_options.dart
2.97 kB
| // File generated by FlutterFire CLI. | |
| // ignore_for_file: type=lint | |
| import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; | |
| import 'package:flutter/foundation.dart' | |
| show defaultTargetPlatform, kIsWeb, TargetPlatform; | |
| /// Default [FirebaseOptions] for use with your Firebase apps. | |
| /// | |
| /// Example: | |
| /// ```dart | |
| /// import 'firebase_options.dart'; | |
| /// // ... | |
| /// await Firebase.initializeApp( | |
| /// options: DefaultFirebaseOptions.currentPlatform, | |
| /// ); | |
| /// ``` | |
| class DefaultFirebaseOptions { | |
| static FirebaseOptions get currentPlatform { | |
| if (kIsWeb) { | |
| return web; | |
| } | |
| switch (defaultTargetPlatform) { | |
| case TargetPlatform.android: | |
| return android; | |
| case TargetPlatform.iOS: | |
| return ios; | |
| case TargetPlatform.macOS: | |
| return macos; | |
| case TargetPlatform.windows: | |
| return windows; | |
| case TargetPlatform.linux: | |
| throw UnsupportedError( | |
| 'DefaultFirebaseOptions have not been configured for linux - ' | |
| 'you can reconfigure this by running the FlutterFire CLI again.', | |
| ); | |
| default: | |
| throw UnsupportedError( | |
| 'DefaultFirebaseOptions are not supported for this platform.', | |
| ); | |
| } | |
| } | |
| static const FirebaseOptions web = FirebaseOptions( | |
| apiKey: 'AIzaSyCvH5XwGLlDSoDLvyXxO0zUrUiBbHTckWA', | |
| appId: '1:753356619237:web:fa235d2aa773c36042c30c', | |
| messagingSenderId: '753356619237', | |
| projectId: 'sante-823cc', | |
| authDomain: 'sante-823cc.firebaseapp.com', | |
| storageBucket: 'sante-823cc.firebasestorage.app', | |
| measurementId: 'G-4TW1QSGJZL', | |
| ); | |
| static const FirebaseOptions android = FirebaseOptions( | |
| apiKey: 'AIzaSyCKzBRQK-ehu6ac9rftuNU9W9eo11F774c', | |
| appId: '1:753356619237:android:8c8147cb09237d3e42c30c', | |
| messagingSenderId: '753356619237', | |
| projectId: 'sante-823cc', | |
| storageBucket: 'sante-823cc.firebasestorage.app', | |
| ); | |
| static const FirebaseOptions ios = FirebaseOptions( | |
| apiKey: 'AIzaSyCjcU00lYVYVFYReaYmSYoKhJAiw6GmHZo', | |
| appId: '1:753356619237:ios:da39b855577ce69f42c30c', | |
| messagingSenderId: '753356619237', | |
| projectId: 'sante-823cc', | |
| storageBucket: 'sante-823cc.firebasestorage.app', | |
| iosBundleId: 'com.example.application2', | |
| ); | |
| static const FirebaseOptions macos = FirebaseOptions( | |
| apiKey: 'AIzaSyCjcU00lYVYVFYReaYmSYoKhJAiw6GmHZo', | |
| appId: '1:753356619237:ios:da39b855577ce69f42c30c', | |
| messagingSenderId: '753356619237', | |
| projectId: 'sante-823cc', | |
| storageBucket: 'sante-823cc.firebasestorage.app', | |
| iosBundleId: 'com.example.application2', | |
| ); | |
| static const FirebaseOptions windows = FirebaseOptions( | |
| apiKey: 'AIzaSyCvH5XwGLlDSoDLvyXxO0zUrUiBbHTckWA', | |
| appId: '1:753356619237:web:13f08b44b3c76a9c42c30c', | |
| messagingSenderId: '753356619237', | |
| projectId: 'sante-823cc', | |
| authDomain: 'sante-823cc.firebaseapp.com', | |
| storageBucket: 'sante-823cc.firebasestorage.app', | |
| measurementId: 'G-K04B2WT92Y', | |
| ); | |
| } | |