Spaces:
Running
Running
more updates
Browse files
README.md
CHANGED
|
@@ -51,18 +51,21 @@ This app is developed using React + Fastapi. You can run this app locally with t
|
|
| 51 |
```
|
| 52 |
|
| 53 |
3. **Install dependencies**
|
| 54 |
-
|
| 55 |
pip install -r requirements.txt
|
| 56 |
```
|
| 57 |
|
| 58 |
4. **(Optional) Install GPU-related packages**
|
|
|
|
| 59 |
If you are running on a GPU-enabled device, you can install additional packages (e.g., for faster inference and support for more models):
|
|
|
|
| 60 |
```commandline
|
| 61 |
python install_gpu_packages.py
|
| 62 |
```
|
| 63 |
|
| 64 |
5. **Start the backend server**
|
|
|
|
| 65 |
Run the FastAPI app with Uvicorn:
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
|
|
| 51 |
```
|
| 52 |
|
| 53 |
3. **Install dependencies**
|
| 54 |
+
```commandline
|
| 55 |
pip install -r requirements.txt
|
| 56 |
```
|
| 57 |
|
| 58 |
4. **(Optional) Install GPU-related packages**
|
| 59 |
+
|
| 60 |
If you are running on a GPU-enabled device, you can install additional packages (e.g., for faster inference and support for more models):
|
| 61 |
+
|
| 62 |
```commandline
|
| 63 |
python install_gpu_packages.py
|
| 64 |
```
|
| 65 |
|
| 66 |
5. **Start the backend server**
|
| 67 |
+
|
| 68 |
Run the FastAPI app with Uvicorn:
|
| 69 |
+
```commandline
|
| 70 |
+
uvicorn app:app --reload --host 0.0.0.0 --port 8000
|
| 71 |
+
```
|