Download src/app/question-data.service.ts from pykara/Py-detect: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/pykara/Py-detect/resolve/main/src/app/question-data.service.ts
- Command line
-
hf download hf://spaces/pykara/Py-detect/src/app/question-data.service.ts
-
curl -L -o question-data.service.ts https://huggingface.co/spaces/pykara/Py-detect/resolve/main/src/app/question-data.service.ts
408 Bytes
| import { Injectable } from '@angular/core'; | |
| ({ providedIn: 'root' }) | |
| export class QuestionDataService { | |
| private questions: any[] = []; | |
| private caseDetails: any = {}; | |
| setQuestions(questions: any[]) { | |
| this.questions = questions; | |
| } | |
| getQuestions() { | |
| return this.questions; | |
| } | |
| setCaseDetails(details: any) { | |
| this.caseDetails = details; | |
| } | |
| getCaseDetails() { | |
| return this.caseDetails; | |
| } | |
| } | |