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
from flask import Flask | |
from flask import request | |
from flask import Response | |
from flask import send_file | |
from flask import abort | |
import json | |
import os | |
app = Flask(__name__) |
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
import pandas as pd | |
import json | |
import os | |
from google.api_core import retry | |
from google.cloud import bigquery | |
from google.cloud import storage | |
PROJECT_ID = os.getenv('GCP_PROJECT') |
This file has been truncated, but you can view the full file.
This file has been truncated, but you can view the full file.
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
diff --git a/src/image.cpp b/src/image.cpp | |
index 495293e..b135704 100644 | |
--- a/src/image.cpp | |
+++ b/src/image.cpp | |
@@ -11,7 +11,7 @@ | |
#include <immintrin.h> | |
#endif | |
-#ifdef ANDROID | |
+#if defined (ANDROID) || (defined (__linux__) && !defined (__x86_64__)) |
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
public static String decapitalize(String name) { | |
if (name == null || name.length() == 0) { | |
return name; | |
} | |
if (name.length() > 1 && Character.isUpperCase(name.charAt(1)) && | |
Character.isUpperCase(name.charAt(0))){ | |
return name; | |
} | |
char chars[] = name.toCharArray(); | |
chars[0] = Character.toLowerCase(chars[0]); |