Spaces:
Sleeping
Sleeping
Fix gradio dependency conflict in HF Space build
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🚀
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
@@ -39,12 +39,8 @@ source venv/bin/activate
|
|
| 39 |
pip install -r requirements.txt
|
| 40 |
```
|
| 41 |
|
| 42 |
-
*(On Windows, activate the virtual environment using `venv\Scripts\activate`)*
|
| 43 |
-
|
| 44 |
## Running the Application
|
| 45 |
|
| 46 |
-
This project features both a FastAPI backend (providing an API) and a Gradio frontend (providing a UI).
|
| 47 |
-
|
| 48 |
### Method 1: Using the UI (Recommended)
|
| 49 |
You can directly run the Gradio application to access the user interface.
|
| 50 |
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.11.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 39 |
pip install -r requirements.txt
|
| 40 |
```
|
| 41 |
|
|
|
|
|
|
|
| 42 |
## Running the Application
|
| 43 |
|
|
|
|
|
|
|
| 44 |
### Method 1: Using the UI (Recommended)
|
| 45 |
You can directly run the Gradio application to access the user interface.
|
| 46 |
|