Spaces:
Build error
Build error
Martin Nguyen
commited on
Commit
·
2029588
1
Parent(s):
1ffd2e5
Add more dependancy
Browse files- Dockerfile +2 -0
- app.R +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ WORKDIR /code
|
|
| 4 |
|
| 5 |
RUN install2.r --error \
|
| 6 |
shiny \
|
|
|
|
|
|
|
| 7 |
jsonlite
|
| 8 |
|
| 9 |
COPY . .
|
|
|
|
| 4 |
|
| 5 |
RUN install2.r --error \
|
| 6 |
shiny \
|
| 7 |
+
caret \
|
| 8 |
+
dplyr \
|
| 9 |
jsonlite
|
| 10 |
|
| 11 |
COPY . .
|
app.R
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
# Load required libraries
|
|
|
|
|
|
|
| 2 |
library(shiny)
|
| 3 |
library(jsonlite) # For JSON conversion
|
| 4 |
|
|
|
|
| 1 |
# Load required libraries
|
| 2 |
+
library(caret)
|
| 3 |
+
library(dplyr)
|
| 4 |
library(shiny)
|
| 5 |
library(jsonlite) # For JSON conversion
|
| 6 |
|