Oviya
commited on
Commit
·
0e5bc5f
1
Parent(s):
0759111
reding component
Browse files
src/app/reading/reading.service.ts
CHANGED
|
@@ -11,10 +11,6 @@ export class ReadingService {
|
|
| 11 |
? 'https://pykara-py-learn-backend.hf.space/media'
|
| 12 |
: 'http://localhost:5000/media';
|
| 13 |
|
| 14 |
-
//private apiUrl = 'http://127.0.0.1:5001/generate_content';
|
| 15 |
-
//private apiUrlQuestions = 'http://127.0.0.1:5001/generate_questions'; // Backend API URL for questions
|
| 16 |
-
//private apiUrlValidateAnswer = 'http://127.0.0.1:5001/validate_answer'; // Backend API URL for validating answers
|
| 17 |
-
|
| 18 |
constructor(private http: HttpClient) { }
|
| 19 |
|
| 20 |
// Function to send the topic and difficulty level to the backend and get the generated content
|
|
|
|
| 11 |
? 'https://pykara-py-learn-backend.hf.space/media'
|
| 12 |
: 'http://localhost:5000/media';
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
constructor(private http: HttpClient) { }
|
| 15 |
|
| 16 |
// Function to send the topic and difficulty level to the backend and get the generated content
|