RajalashmiNagarajan
commited on
Commit
·
2fa2e84
1
Parent(s):
ed79486
login page
Browse files
src/environments/environment.ts
CHANGED
|
@@ -9,7 +9,7 @@ const isLocal =
|
|
| 9 |
|
| 10 |
// Decide API URL based on where the app is running
|
| 11 |
const pyDetectApiUrl = isLocal
|
| 12 |
-
? 'http://127.0.0.1:
|
| 13 |
: 'https://pykara-Py-detect-backend.hf.space'; // Hugging Face backend
|
| 14 |
|
| 15 |
export const environment = {
|
|
|
|
| 9 |
|
| 10 |
// Decide API URL based on where the app is running
|
| 11 |
const pyDetectApiUrl = isLocal
|
| 12 |
+
? 'http://127.0.0.1:5000' // your local Flask
|
| 13 |
: 'https://pykara-Py-detect-backend.hf.space'; // Hugging Face backend
|
| 14 |
|
| 15 |
export const environment = {
|