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/main.dart from kisambu/tuberculoscan: direct link, hf CLI and curl.
- Browser
- Download file 726 Bytes
-
https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/main.dart
- Command line
-
hf download hf://kisambu/tuberculoscan/application2/lib/main.dart
-
curl -L -o main.dart https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/lib/main.dart
726 Bytes
| import 'package:flutter/material.dart'; | |
| import 'page1.dart'; | |
| import 'navbar.dart'; | |
| import 'accueil.dart'; | |
| import 'package:firebase_core/firebase_core.dart'; | |
| import 'firebase_options.dart'; | |
| Future<void> main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform); | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| //This widget is the root of your application. | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| debugShowCheckedModeBanner: false, | |
| theme: ThemeData(primarySwatch: Colors.blue), | |
| home: const Accueil(), | |
| ); | |
| } | |
| } | |