lighthouse / README.md
alxcspr's picture
Upload folder using huggingface_hub
b3d58ff verified
---
title: lighthouse
app_file: lighthouse.py
sdk: gradio
sdk_version: 5.47.0
---
# Lighthouse Application
There are two versions of this application - a standalone Python application, and a version running in a notebook.
- lighthouse.ipynb - Jupyter Notebook version
- lighthouse.py - Python version
- lighthouses.json - Used for local storage by the lighthouse application. Should be empty to start.
Gradio, an accessible library for visualising machine learning processes developed by HuggingFace, is used as a way to provide a basic interface.
You should not need to develop a complex understanding of this library for this assignment, but the documentation is available here: [Gradio Docs](https://www.gradio.app/docs)
By default, the jupyter notebook environment runs version [3.11.7 of Python](https://www.python.org/downloads/release/python-3117/) - you should not run into problems with other versions of Python, but be aware that different versions of Python and different interpreters have their own functionalities.
## To run this app in a notebook:
1. Run the bash cell to install the gradio library. You should only need to do this once.
## To run this app locally:
1. In your terminal, install Gradio: pip install gradio
2. Run from your terminal: python lighthouse.py