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/menu.dart from kisambu/tuberculoscan: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/menu.dart
- Command line
-
hf download hf://kisambu/tuberculoscan/application2/lib/menu.dart
-
curl -L -o menu.dart https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/menu.dart
1.62 kB
| import 'package:flutter/material.dart'; | |
| // Couleurs simulées (à remplacer par tes vraies constantes) | |
| const Color primaryColor = Colors.deepPurple; | |
| const Color accentColor = Colors.deepOrange; | |
| const Color backgroundColor = Colors.white; | |
| class Welcome extends StatelessWidget { | |
| const Welcome({super.key}); | |
| Widget build(BuildContext context) { | |
| return Scaffold( | |
| backgroundColor: Colors.white, | |
| body: SafeArea( | |
| child: SingleChildScrollView( | |
| child: Padding( | |
| padding: const EdgeInsets.symmetric(horizontal: 20.0), | |
| child: Column( | |
| crossAxisAlignment: CrossAxisAlignment.stretch, | |
| children: [ | |
| // Image | |
| Image.asset( | |
| 'assets/image.jpeg', | |
| fit: BoxFit.contain, | |
| height: 500, | |
| ), | |
| // Bienvenue et sous-texte | |
| const Text( | |
| 'Bienvenue', | |
| style: TextStyle( | |
| fontSize: 30, | |
| color: Color.fromARGB(255, 33, 243, 51), | |
| fontWeight: FontWeight.bold, | |
| ), | |
| textAlign: TextAlign.center, | |
| ), | |
| const SizedBox(height: 10), | |
| const Text( | |
| 'Application Tout en un', | |
| style: TextStyle(fontSize: 16, color: Colors.grey), | |
| textAlign: TextAlign.center, | |
| ), | |
| ], | |
| ), | |
| ), | |
| ), | |
| ), | |
| ); | |
| } | |
| } | |