Spaces:
Sleeping
Sleeping
Commit
·
f1e31e6
1
Parent(s):
938d60d
edited readme
Browse files
README.md
CHANGED
|
@@ -21,15 +21,6 @@ NoteGenie is an AI-powered Jupyter notebook generator that uses Google's Gemini
|
|
| 21 |
- Download notebooks as .ipynb files
|
| 22 |
- Streaming responses for a better user experience
|
| 23 |
|
| 24 |
-
## Deployment on Hugging Face Spaces
|
| 25 |
-
|
| 26 |
-
1. Create a new Space on Hugging Face
|
| 27 |
-
2. Choose Docker template
|
| 28 |
-
3. Upload this repository to the Space
|
| 29 |
-
4. Set the following environment variables in your Space settings:
|
| 30 |
-
- SECRET_KEY: A secure random string for Flask sessions
|
| 31 |
-
- PORT: 7860 (default for Hugging Face Spaces)
|
| 32 |
-
|
| 33 |
## Local Development
|
| 34 |
|
| 35 |
1. Install dependencies:
|
|
@@ -44,21 +35,6 @@ NoteGenie is an AI-powered Jupyter notebook generator that uses Google's Gemini
|
|
| 44 |
|
| 45 |
3. Open http://localhost:5000 in your browser
|
| 46 |
|
| 47 |
-
## Using Docker
|
| 48 |
-
|
| 49 |
-
Build and run the Docker container:
|
| 50 |
-
|
| 51 |
-
```bash
|
| 52 |
-
docker build -t notegenie .
|
| 53 |
-
docker run -p 7860:7860 -e SECRET_KEY=your_secret_key notegenie
|
| 54 |
-
```
|
| 55 |
-
|
| 56 |
-
## Environment Variables
|
| 57 |
-
|
| 58 |
-
- SECRET_KEY: Secret key for Flask session encryption
|
| 59 |
-
- PORT: Port to run the application on (defaults to 5000 locally, 7860 for Hugging Face)
|
| 60 |
-
- FLASK_ENV: Set to "development" for debug mode, "production" for production
|
| 61 |
-
|
| 62 |
## API Key Setup
|
| 63 |
|
| 64 |
NoteGenie requires a Google Gemini API key. Users can set their own API key in the web interface.
|
|
|
|
| 21 |
- Download notebooks as .ipynb files
|
| 22 |
- Streaming responses for a better user experience
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## Local Development
|
| 25 |
|
| 26 |
1. Install dependencies:
|
|
|
|
| 35 |
|
| 36 |
3. Open http://localhost:5000 in your browser
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
## API Key Setup
|
| 39 |
|
| 40 |
NoteGenie requires a Google Gemini API key. Users can set their own API key in the web interface.
|