Use deployed API endpoint
Browse files
app.py
CHANGED
@@ -15,8 +15,7 @@ import requests
|
|
15 |
import json
|
16 |
|
17 |
# API for inferences
|
18 |
-
DL4EO_API_URL = "https://dl4eo--groundingdino-predict
|
19 |
-
#DL4EO_API_URL = "https://dl4eo--groundingdino-predict.modal.run"
|
20 |
|
21 |
# Auth Token to access API
|
22 |
DL4EO_API_KEY = os.environ['DL4EO_API_KEY']
|
|
|
15 |
import json
|
16 |
|
17 |
# API for inferences
|
18 |
+
DL4EO_API_URL = "https://dl4eo--groundingdino-predict.modal.run"
|
|
|
19 |
|
20 |
# Auth Token to access API
|
21 |
DL4EO_API_KEY = os.environ['DL4EO_API_KEY']
|