Spaces:
Runtime error
Runtime error
File size: 1,042 Bytes
3a0f72b ca49f8f d46628f ca49f8f 51badb6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
---
title: Fastai2
emoji: 🦀
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 3.1.4
app_file: app.py
pinned: false
license: apache-2.0
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Train and download the model
Before generating and downloading the model, make sure to launch `git lfs install`.
The notebook that generated the model pickle file `model.pkl` is
[here](https://www.kaggle.com/code/cfahed/saving-a-basic-fastai-model/edit).
# Setup a fully working Fastai environment on Mac
Install [Mamba](https://mamba.readthedocs.io/en/latest/installation.html) which is a faster Conda.
And both are preferred to _pip_ because _pip_ doesn't install GPU dependencies.
Then, run the following commands:
mamba init
mamba install -c fastchan fastai
mamba install -c fastai nbdev
mamba install jupyter
pip install gradio
Finally, launch Jupyter with `jupyter notebook`.
The app is deployed [here](https://huggingface.co/spaces/choucrifahed/fastai2).
|