Skip to content

Commit

Permalink
fixing merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgabriel18 committed Dec 8, 2023
2 parents b4cbb7d + d6825a1 commit 88ca86c
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 45,113 deletions.
17 changes: 0 additions & 17 deletions api/NeuralNetworkFakeNews

This file was deleted.

Binary file removed api/__pycache__/DataProcesser.cpython-39.pyc
Binary file not shown.
Binary file removed api/__pycache__/NbEmotionsModel.cpython-39.pyc
Binary file not shown.
Binary file removed api/__pycache__/NbNewsModel.cpython-39.pyc
Binary file not shown.
5 changes: 2 additions & 3 deletions api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
from DataProcesser import DataProcesser
from Neural_Network2 import create_and_train_model
from available_classifiers import get_available_classifiers

import os
import atexit
import threading
import pandas as pd
import nltk
import pandas as pd
import json
nltk.download('wordnet')

Expand Down Expand Up @@ -61,8 +61,7 @@ def train_model():
selected_data = received_data.get('data')
selected_label = received_data.get('label')
name = received_data.get('name')

return create_and_train_model(selected_data, selected_label, name)
return create_and_train_model(selected_data,selected_label,name)

if __name__ == '__main__':
server_thread = threading.Thread(target=run_flask_app)
Expand Down
185 changes: 0 additions & 185 deletions api/models/nn_fakenews.py

This file was deleted.

Binary file removed api/models/nn_fakenews_model.pkl
Binary file not shown.
Loading

0 comments on commit 88ca86c

Please sign in to comment.