Skip to content

Commit

Permalink
Merge pull request #31 from nganguyenny/model-ruben
Browse files Browse the repository at this point in the history
update end of day
  • Loading branch information
nguyenngocyennga authored Jun 9, 2022
2 parents 55dc32e + 88679e3 commit f43bebb
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 21 deletions.
34 changes: 21 additions & 13 deletions .vscode/targets.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ make all --print-data-base --no-builtin-variables --no-builtin-rules --question
# PARTICULAR PURPOSE.

# This program built for i386-apple-darwin11.3.0


# Make data base, printed on Thu Jun 9 09:49:20 2022
# Make data base, printed on Thu Jun 9 16:38:57 2022

# Variables

Expand All @@ -34,13 +33,14 @@ VSCODE_LOG_NATIVE = false
CURDIR := /Users/rubenstuiver/code/nganguyenny/menu_me
# makefile
SHELL = /bin/sh

# environment
VSCODE_NLS_CONFIG = {"locale":"en-gb","availableLanguages":{},"_languagePackSupport":true}
# environment
_ = /usr/bin/make
# environment
GOOGLE_APPLICATION_CREDENTIALS = /Users/rubenstuiver/Documents/menu-me-352703-12bcb97b7f5b.json
# environment
IMAGENAME = api-final-menu-me
# makefile (from `Makefile', line 1)
MAKEFILE_LIST := Makefile
# environment
Expand All @@ -50,7 +50,7 @@ __CFBundleIdentifier = com.microsoft.VSCode
# makefile (from `Makefile', line 70)
PYPI_USERNAME = <AUTHOR>
# environment
VSCODE_IPC_HOOK_EXTHOST = /var/folders/jv/yk7cpcx97ln8wgt109nxk6c00000gn/T/vscode-ipc-f3d22b1d-a23e-4f3a-9c67-d442e2572b49.sock
VSCODE_IPC_HOOK_EXTHOST = /var/folders/jv/yk7cpcx97ln8wgt109nxk6c00000gn/T/vscode-ipc-f31663c0-fad0-4d5c-8be0-0fb4ac77299f.sock
# environment
VSCODE_CWD = /Users/rubenstuiver/code/nganguyenny/menu_me
# environment
Expand Down Expand Up @@ -102,6 +102,8 @@ VSCODE_HANDLES_UNCAUGHT_ERRORS = true
# automatic
^D = $(patsubst %/,%,$(dir $^))
# environment
GCR_MULTI_REGION = asia.gcr.io
# environment
XPC_FLAGS = 0x0
# default
MAKE = $(MAKE_COMMAND)
Expand All @@ -116,7 +118,9 @@ USER = rubenstuiver
# makefile
.DEFAULT_GOAL := install_requirements
# environment
TERM_SESSION_ID = 23FA33E0-4F47-421B-B2CE-451AB4D33F04
TERM_SESSION_ID = 265BAE98-2DEC-4E38-8812-900E805BA732
# environment
GCP_PROJECT_ID = menu-me-352703
# environment
LESS = -R
# automatic
Expand All @@ -134,7 +138,7 @@ TMPDIR = /var/folders/jv/yk7cpcx97ln8wgt109nxk6c00000gn/T/
# environment
VSCODE_IPC_HOOK = /Users/rubenstuiver/Library/Application Support/Code/1.67.2-main.sock
# environment
PYTHONPATH = /Users/rubenstuiver/code/rubenstuiver/data-challenges/04-Decision-Science:"/Users/rubenstuiver/Downloads:$PYTHONPATH"
PYTHONPATH = /Users/rubenstuiver/code/rubenstuiver/data-challenges/04-Decision-Science:"/Users/rubenstuiver/code/nganguyenny/menu_me:$PYTHONPATH"
# makefile
MAKEFLAGS = Rrqp
# environment
Expand All @@ -146,7 +150,7 @@ TERM_PROGRAM_VERSION = 440
# environment
NVM_DIR = /Users/rubenstuiver/.nvm
# environment
XPC_SERVICE_NAME = application.com.microsoft.VSCode.4903456.4903462.8018F212-0150-4CE3-90FC-F560D243ACF4
XPC_SERVICE_NAME = application.com.microsoft.VSCode.4903456.4903462.8AE50594-818A-48E0-9AC4-4CF24E264971
# automatic
+D = $(patsubst %/,%,$(dir $+))
# automatic
Expand All @@ -166,6 +170,8 @@ EDITOR = code
# environment
PAGER = less
# environment
DOCKER_IMAGE_NAME = api-final-for-menu-me
# environment
LC_ALL = C
# environment
PYENV_VIRTUALENV_DISABLE_PROMPT = 1
Expand All @@ -182,23 +188,25 @@ PYENV_VIRTUALENV_INIT = 1
# environment
MAKELEVEL := 0
# environment
GCR_REGION = asia-southeast1
# environment
LANG = C
# environment
TERM = xterm-256color
# environment
VSCODE_PID = 56717
VSCODE_PID = 69549
# variable set hash-table stats:
# Load=87/1024=8%, Rehash=0, Collisions=2/113=2%
# Load=92/1024=9%, Rehash=0, Collisions=2/118=2%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories

# . (device 16777234, inode 6827776): 25 files, no impossibilities.
# . (device 16777234, inode 6827776): 24 files, no impossibilities.

# 25 files, no impossibilities in 1 directories.
# 24 files, no impossibilities in 1 directories.

# Implicit Rules

Expand Down Expand Up @@ -285,7 +293,6 @@ check_code:
# File has not been updated.
# commands to execute (from `Makefile', line 8):
@flake8 scripts/* menu_me/*.py



heroku_create_app:
Expand All @@ -299,6 +306,7 @@ heroku_create_app:
count_lines:
# Implicit rule search has not been done.
# Modification time never checked.

# File has not been updated.
# commands to execute (from `Makefile', line 34):
@find ./ -name '*.py' -exec wc -l {} \; | sort -n| awk \
Expand Down Expand Up @@ -408,6 +416,6 @@ install:
# strcache size: total = 4096 / max = 4096 / min = 4096 / avg = 4096
# strcache free: total = 4087 / max = 4087 / min = 4087 / avg = 4087

# Finished Make data base on Thu Jun 9 09:49:20 2022
# Finished Make data base on Thu Jun 9 16:38:57 2022


2 changes: 1 addition & 1 deletion menu_me/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from PIL import Image
import numpy as np
import pandas as pd
import base64
from io import BytesIO
import string
#import base64


###############################
Expand Down
16 changes: 9 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@ pip>=9
setuptools>=26
twine
wheel>=0.29

numpy
pandas
scikit-learn
#scikit-learn

coverage
flake8
pytest
yapf
google-cloud-storage
s3fs
six
joblib

#joblib
python-dotenv
google-api-python-client
google-cloud
#google-cloud
google-cloud-vision
google-cloud-storage
google-images-search
google-cloud-translate
google-cloud-storage
#google-cloud-translate==2.0.1

streamlit
fastapi
google-cloud-translate==2.0.1
python-dotenv
uvicorn
oauth2client

0 comments on commit f43bebb

Please sign in to comment.