Oviya
commited on
Commit
·
2a76f2a
1
Parent(s):
756f6d4
deploy generate again
Browse files
src/app/generate-questions/generate-questions.service.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Observable } from 'rxjs';
|
|
| 7 |
})
|
| 8 |
export class GenerateQuestionsService {
|
| 9 |
|
|
|
|
| 10 |
private baseUrl = location.hostname.endsWith('hf.space')
|
| 11 |
? 'https://pykara-py-learn-backend.hf.space/media'
|
| 12 |
: 'http://localhost:5000/media';
|
|
|
|
| 7 |
})
|
| 8 |
export class GenerateQuestionsService {
|
| 9 |
|
| 10 |
+
|
| 11 |
private baseUrl = location.hostname.endsWith('hf.space')
|
| 12 |
? 'https://pykara-py-learn-backend.hf.space/media'
|
| 13 |
: 'http://localhost:5000/media';
|