aephidayatuloh commited on
Commit
b1e41d7
β€’
1 Parent(s): ee8ea99

update model name for API docs' sake

Browse files
Dockerfile CHANGED
@@ -25,7 +25,7 @@ RUN mkdir -p /home/appuser/.cache && chown -R appuser:appuser /home/appuser/.cac
25
  # Create the .cache/pins/url directory and give appuser permission to write to it
26
  RUN mkdir -p /home/appuser/.cache/pins/url && chown -R appuser:appuser /home/appuser/.cache/pins/url
27
 
28
- COPY model/ /opt/ml/model/
29
 
30
  RUN Rscript -e "install.packages('renv')"
31
  RUN Rscript -e "renv::restore()"
 
25
  # Create the .cache/pins/url directory and give appuser permission to write to it
26
  RUN mkdir -p /home/appuser/.cache/pins/url && chown -R appuser:appuser /home/appuser/.cache/pins/url
27
 
28
+ COPY 'Prediksi TMA Ciliwung Kalibrasi'/ /opt/ml/'Prediksi TMA Ciliwung Kalibrasi'/
29
 
30
  RUN Rscript -e "install.packages('renv')"
31
  RUN Rscript -e "renv::restore()"
model/20240721T180658Z-9197e/model.rds β†’ Prediksi TMA Ciliwung Kalibrasi/20240721T180658Z-9197e/Prediksi TMA Ciliwung Kalibrasi.rds RENAMED
File without changes
{model β†’ Prediksi TMA Ciliwung Kalibrasi}/20240721T180658Z-9197e/data.txt RENAMED
@@ -1,8 +1,8 @@
1
- file: model.rds
2
  file_size: 29519
3
  pin_hash: 9197eebd21d9aa36
4
  type: rds
5
- title: 'model: a pinned list'
6
  description: Model prediksi TMA Cross-Section/River Sta untuk model Hec-Ras kalibrasi
7
  tidymodels versi beta
8
  tags: ~
 
1
+ file: Prediksi TMA Ciliwung Kalibrasi.rds
2
  file_size: 29519
3
  pin_hash: 9197eebd21d9aa36
4
  type: rds
5
+ title: 'Prediksi TMA Ciliwung Kalibrasi: a pinned list'
6
  description: Model prediksi TMA Cross-Section/River Sta untuk model Hec-Ras kalibrasi
7
  tidymodels versi beta
8
  tags: ~
plumber.R CHANGED
@@ -5,7 +5,7 @@ library(plumber)
5
  library(rapidoc)
6
  library(vetiver)
7
  b <- board_folder(path = ".")
8
- v <- vetiver_pin_read(b, "model")
9
 
10
  #* @plumber
11
  function(pr) {
 
5
  library(rapidoc)
6
  library(vetiver)
7
  b <- board_folder(path = ".")
8
+ v <- vetiver_pin_read(b, "Prediksi TMA Ciliwung Kalibrasi")
9
 
10
  #* @plumber
11
  function(pr) {