/ChatX

Primary LanguageJavaScript

Scatty

Installation

Install the dependencies and run the local app server.

$ python3 -m pip install -U ScattyBackend/ScattyBackend/requirements.txt
$ npm install -g expo, react-native
$ python3 ScattyBackend/ScattyBackend/app.py

Start ngrok server.

$ ngrok http <port>

Edit the API base URL received from ngrok server.

$ vim ScattyFrontend/App.js
-----------------------------------------------------------------
consts response = fetch(`<URL>/api?input=${newMessages[0].text}`);

Start expo server.

$ npm expo start

Dependencies

  • nltk (Natural Language Toolkit)
  • tflearn (Deep Learning Library featuring a higher-level API for TensorFlow)
  • tensorflow (TensorFlow is an open source machine learning framework for everyone.)
  • pickle5 (Backport of the pickle 5 protocol (PEP 574) and other pickle changes)
  • expo (Add fast refresh, true native capabilities)
  • react-native (A popular open source library for building user interfaces with JavaScript)