Spaces:
Running
Running
Updated querychat app to fix DT error and README with correct link for HF space
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ short_description: Explore U.S. occupational employment and wage data
|
|
| 14 |
|
| 15 |
**Your AI-Powered Assistant for Exploring Occupational Employment and Wage Statistics**
|
| 16 |
|
| 17 |
-
[](https://huggingface.co/spaces/fmegahed/
|
| 18 |
|
| 19 |
Explore the U.S. Bureau of Labor Statistics' Occupational Employment and Wage Statistics (OEWS) dataset using natural language queries.
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
**Your AI-Powered Assistant for Exploring Occupational Employment and Wage Statistics**
|
| 16 |
|
| 17 |
+
[](https://huggingface.co/spaces/fmegahed/querychat_demo)
|
| 18 |
|
| 19 |
Explore the U.S. Bureau of Labor Statistics' Occupational Employment and Wage Statistics (OEWS) dataset using natural language queries.
|
| 20 |
|
app.R
CHANGED
|
@@ -8,7 +8,7 @@ library(shiny)
|
|
| 8 |
# Data & QueryChat setup
|
| 9 |
# ---------------------------------------------------------------------------
|
| 10 |
|
| 11 |
-
oews <- readRDS("data/oews.rds")
|
| 12 |
|
| 13 |
# Pre-compute static stats for the Home tab
|
| 14 |
n_occupations <- length(unique(oews$occ_title[oews$o_group == "detailed"]))
|
|
|
|
| 8 |
# Data & QueryChat setup
|
| 9 |
# ---------------------------------------------------------------------------
|
| 10 |
|
| 11 |
+
oews <- as.data.frame(readRDS("data/oews.rds"))
|
| 12 |
|
| 13 |
# Pre-compute static stats for the Home tab
|
| 14 |
n_occupations <- length(unique(oews$occ_title[oews$o_group == "detailed"]))
|