quick fix
This commit is contained in:
parent
01d0798581
commit
2b150427f2
@ -77,7 +77,7 @@ export class SentimentAnalysisComponent implements OnInit {
|
||||
let value = this.sentimentForm.value
|
||||
sentences = value.sentences.map((value: any) => value.text)
|
||||
}
|
||||
this.http.put('http://127.0.0.1:5000/get_sentiment_data', { sentences: sentences }).subscribe({
|
||||
this.http.post('http://127.0.0.1:5000/get_sentiment_data', { sentences: sentences }).subscribe({
|
||||
next: (resp: any) => {
|
||||
this.results = resp.predictions
|
||||
console.log(resp)
|
||||
|
Loading…
Reference in New Issue
Block a user