Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,8 @@ def displaytext_yolocounter(countings, coverage):
|
|
60 |
return text
|
61 |
|
62 |
def testing_yolocounter(input_img):
|
63 |
-
api_url = '
|
|
|
64 |
response = send2api(input_img, api_url)
|
65 |
countings = response['countings_scinames']
|
66 |
coverage = response['coverage']
|
|
|
60 |
return text
|
61 |
|
62 |
def testing_yolocounter(input_img):
|
63 |
+
api_url = 'https://countingidv2-114842087833.us-east4.run.app/predict'
|
64 |
+
#api_url = 'http://counterid.us-east-2.elasticbeanstalk.com/predict' #'http://yolocounter-test.us-east-1.elasticbeanstalk.com/predict'
|
65 |
response = send2api(input_img, api_url)
|
66 |
countings = response['countings_scinames']
|
67 |
coverage = response['coverage']
|