Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ from PIL import Image
|
|
| 5 |
import io
|
| 6 |
import numpy as np
|
| 7 |
from structure import ImagePredictionResponse, TextPredictionRequest, TextPredictionResponse, PredictionEntry
|
|
|
|
| 8 |
from imagePreprocess import profile_image_for_cnn_predict, CNNPredict, ResnetPredict, clip_predict
|
| 9 |
-
from textPreproces import predict_text
|
| 10 |
import tensorflow as tf
|
| 11 |
|
| 12 |
origins=[
|
|
|
|
| 5 |
import io
|
| 6 |
import numpy as np
|
| 7 |
from structure import ImagePredictionResponse, TextPredictionRequest, TextPredictionResponse, PredictionEntry
|
| 8 |
+
from textPreprocess import predict_text
|
| 9 |
from imagePreprocess import profile_image_for_cnn_predict, CNNPredict, ResnetPredict, clip_predict
|
|
|
|
| 10 |
import tensorflow as tf
|
| 11 |
|
| 12 |
origins=[
|