2021-KPANG / AI-Online-Meeting-Solution

AI Online meeting solution developed by Team KPANG for 2021 KPMG Ideation Challenge
Apache License 2.0
5 stars 5 forks source link

Making MoM

GitHub

Why should I use Making MoM?

We provide all-in-one service of :


Installation

  1. Install all Requirements.
  2. Download Bart model from this [link].
  3. Paste downloaded model to /data directory.
  4. Set up a Cloud Console Project.
    • Create or select a project
    • Enable the Speech-to-Text API for that project
    • Create a service account
    • Download a private key as JSON 2.put your key file(.json) in path /static/key/
  5. Install and initialize the Cloud SDK.
  6. Make Bucket in Cloud storage.
  7. Set your bucket_name, key in path /googleAPI.py.
    
    In line 8,
    BUCKET_NAME = "bucket_name"

In line 10, MY_KEY = ".json"

8. Run ```app.py```.
9. ***Making MoM*** is running on ```http://127.0.0.1:5000/```.
10. Refer to [instructions](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/blob/main/README.md#google-error) for error.

## Requirements

pip install bert-extractive-summarizer pip install spacy pip install transformers==2.2.2 pip install neuralcoref pip install googleAPI pip install google.cloud.storage pip install google.cloud.speech python -m spacy download en_core_web_sm python -m spacy download en_core_web_md pip install moviepy pip install flask pip install -U pip setuptools wheel pip install -U spacy pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html pip install fastai==2.2.5 pip install ohmeow-blurr pip install datasets


### google ERROR

pip install --upgrade google.cloud.storage pip install --upgrade google.cloud.speech pip install google.cloud


## Environment
- Local Environment
  - If run in local environment, error may occur in *summarizer*
  - Edit ```sentence_handler.py``` in path ```../site-packages/summarizer``` as below

In line 10,

self.nlp.add_pipe(self.nlp.create_pipe('sentencizer')) to

self.nlp.add_pipe("sentencizer")

In line 22,

return [c.string.strip() for c in doc.sents if max_length > len(c.string.strip()) > min_length] to

return [c.text.strip() for c in doc.sents if max_length > len(c.text.strip()) > min_length]


## Documentation
1. [Speech-To-Text](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/blob/main/Speech_to_Text/README.md)
2. [Summarization](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/blob/main/Summarization/README.md)
3. [Named Entity Recognition(NER)](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/tree/main/named_entity_recognition)
4. [Web Usage(HTML)](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/blob/main/HTML/README.md)
5. [Business](https://github.com/2021-KPANG/AI-Online-Meeting-Solution/blob/main/Business/Business.pdf)

## Contributors
[Lim Sejin](https://github.com/LimSeJin9577), [Soyoung Cho](https://github.com/SoYoungCho), [Hwaseung Jeon](https://github.com/HwaseungJeon), [Heeseoung  An](https://github.com/hiseoung), [Jiyeon Jang](https://github.com/jji1902) and  [Jisuk Ryu](https://github.com/jsryu0624)

## License

Copyright 2021 KPANG.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.