-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Emojivision App #13
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
874773c
CLI convenience entry script
lusbenjamin 719dd8a
move gcloud wrapper script to gc
lusbenjamin a914f74
Update README.md
lusbenjamin a7e28ba
new constants.py
lusbenjamin 854a7a7
use central constants module
lusbenjamin b5fd84a
add favicon.ico
lusbenjamin 4b4179f
add python dependency on google-cloud 0.27.0
lusbenjamin 255e368
basic emojivision web app
lusbenjamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
python manage.py "$@" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import os | ||
|
||
|
||
# Project directory paths | ||
PACKAGE_DIR = 'pymoji' | ||
STATIC_DIR = os.path.join(PACKAGE_DIR, 'static') | ||
EMOJI_DIR = os.path.join(STATIC_DIR, 'emoji') | ||
OUTPUT_DIR = os.path.join(STATIC_DIR, 'gen') | ||
TEMP_FILENAME = 'face-input.jpg' | ||
TEMP_PATH = os.path.join(STATIC_DIR, TEMP_FILENAME) | ||
OUTPUT_PATH = os.path.join(OUTPUT_DIR, 'face-input-output.jpg') | ||
|
||
# Google App Engine | ||
PROJECT_ID = 'pymoji-176318' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>✨📸🕶✨</title> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="TensorBros: Emojivision"> | ||
<link rel="shortcut icon" href="/static/favicon.ico" /> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
<div class="navbar navbar-default"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a href="/"> | ||
<div class="navbar-brand">📸 Upload 📸</div> | ||
</a> | ||
</div> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="/emojivision">✨🕶 Emojivision 🕶✨</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
{% block content %}{% endblock %} | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ this comment represents almost 48 hours of debugging
😞