Spaces:
Sleeping
Sleeping
David Hrachovy commited on
Commit ·
3930f07
1
Parent(s): 84f1ef5
Update
Browse files
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Real Estate Projects
|
| 3 |
+
emoji: 🏠
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.15
|
| 8 |
+
python_version: 3.12.4
|
| 9 |
+
app_file: app.py
|
| 10 |
+
license: other
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
# Real Estate Projects Scraper and Analyzer
|
| 15 |
+
|
| 16 |
+
A Gradio interface that scrapes and analyzes real estate projects using LangChain and SQLite.
|
| 17 |
+
|
| 18 |
+
## Features
|
| 19 |
+
- Stores data in SQLite using Peewee ORM
|
| 20 |
+
- Chat interface to query project data
|
| 21 |
+
|
| 22 |
+
## Setup
|
| 23 |
+
|
| 24 |
+
1. Create and activate a virtual environment:
|
| 25 |
+
```sh
|
| 26 |
+
uv venv --python 3.12
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
2. Compile the requirements file:
|
| 30 |
+
```sh
|
| 31 |
+
uv pip compile requirements.in --generate-hashes -o requirements.txt
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
3. Install the dependencies:
|
| 35 |
+
```sh
|
| 36 |
+
uv pip install -r requirements.txt
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
4. Run the application:
|
| 40 |
+
```sh
|
| 41 |
+
uv run app.py
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
5. Upgrade all packages to their latest versions:
|
| 45 |
+
```sh
|
| 46 |
+
uv pip install --upgrade -r requirements.txt
|
| 47 |
+
```
|