This commit is contained in:
lokeshramchand-ctrl 2025-08-13 08:25:45 +05:30
parent 85b54fbf9d
commit 0318503c4d
9 changed files with 37 additions and 38 deletions

13
AI/requirements.txt Normal file
View file

@ -0,0 +1,13 @@
blinker==1.9.0
click==8.2.0
colorama==0.4.6
Flask==3.1.1
itsdangerous==2.2.0
Jinja2==3.1.6
joblib==1.5.0
MarkupSafe==3.0.2
numpy==2.2.6
scikit-learn==1.6.1
scipy==1.15.3
threadpoolctl==3.6.0
Werkzeug==3.1.3

View file

@ -1,4 +1,4 @@
MONGO_URI=mongodb://localhost:27017/chat MONGO_URI=mongodb+srv://velar:Lokesh@1234@cluster0.mplyn1q.mongodb.net/
HOST=0.0.0.0 HOST=0.0.0.0
PORT=3000 PORT=3000
CORS_ORIGIN=http://192.168.1.12:3000 CORS_ORIGIN=http://192.168.1.100:3000

View file

@ -14,7 +14,7 @@ const predictRoute = require('./predict');
app.use('/api/predict', predictRoute); app.use('/api/predict', predictRoute);
// MongoDB connection // MongoDB connection
mongoose.connect('mongodb://localhost:27017/chat', { mongoose.connect('mongodb+srv://velar:Lokesh%401234@cluster0.mplyn1q.mongodb.net/finance', {
useNewUrlParser: true, useNewUrlParser: true,
useUnifiedTopology: true, useUnifiedTopology: true,
}); });

View file

@ -20,18 +20,15 @@ android {
} }
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.monarch" applicationId = "com.example.monarch"
// You can update the following values to match your application needs. minSdkVersion(23)
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode versionCode = flutter.versionCode
versionName = flutter.versionName versionName = flutter.versionName
} }
buildTypes { buildTypes {
release { getByName("release") {
// TODO: Add your own signing config for the release build. // TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug") signingConfig = signingConfigs.getByName("debug")

View file

@ -1,5 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.RECORD_AUDIO"/> <uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<application <application
android:label="monarch" android:label="monarch"
android:name="${applicationName}" android:name="${applicationName}"

View file

@ -24,8 +24,9 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
theme: ThemeData(primarySwatch: Colors.blue), theme: ThemeData(primarySwatch: Colors.blue),
// home: const FinTrackHomePage(), home: const FinTrackHomePage(),
home: const SpeechInputPage(), // home: const SpeechInputPage(),
); );
} }
} }

View file

@ -1,3 +1,3 @@
class Environment { class Environment {
static const String baseUrl = 'http://192.168.1.100:3000'; static const String baseUrl = 'velar-bja8e3ehbba3a5h9.southindia-01.azurewebsites.net';
} }

View file

@ -1,6 +1,14 @@
# Generated by pub # Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile # See https://dart.dev/tools/pub/glossary#lockfile
packages: packages:
another_telephony:
dependency: "direct main"
description:
name: another_telephony
sha256: "7dd16759099ea3e4ce762c4f5bbfa097940335555d5caa916aaa52eec6a70cb6"
url: "https://pub.dev"
source: hosted
version: "0.4.1"
async: async:
dependency: transitive dependency: transitive
description: description:
@ -57,22 +65,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.8" version: "1.0.8"
dio:
dependency: "direct main"
description:
name: dio
sha256: "253a18bbd4851fecba42f7343a1df3a9a4c1d31a2c1b37e221086b4fa8c8dbc9"
url: "https://pub.dev"
source: hosted
version: "5.8.0+1"
dio_web_adapter:
dependency: transitive
description:
name: dio_web_adapter
sha256: "7586e476d70caecaf1686d21eee7247ea43ef5c345eab9e0cc3583ff13378d78"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
equatable: equatable:
dependency: transitive dependency: transitive
description: description:
@ -152,14 +144,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.3.0" version: "6.3.0"
hive:
dependency: "direct main"
description:
name: hive
sha256: "8dcf6db979d7933da8217edcec84e9df1bdb4e4edc7fc77dbd5aa74356d6d941"
url: "https://pub.dev"
source: hosted
version: "2.2.3"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:
@ -313,7 +297,7 @@ packages:
source: hosted source: hosted
version: "1.11.1" version: "1.11.1"
permission_handler: permission_handler:
dependency: transitive dependency: "direct main"
description: description:
name: permission_handler name: permission_handler
sha256: "59adad729136f01ea9e35a48f5d1395e25cba6cea552249ddbe9cf950f5d7849" sha256: "59adad729136f01ea9e35a48f5d1395e25cba6cea552249ddbe9cf950f5d7849"

View file

@ -39,9 +39,9 @@ dependencies:
fl_chart: ^1.0.0 fl_chart: ^1.0.0
shared_preferences: ^2.5.3 shared_preferences: ^2.5.3
flutter_dotenv: ^5.2.1 flutter_dotenv: ^5.2.1
hive: ^2.2.3
dio: ^5.8.0+1
manual_speech_to_text: ^1.0.4 manual_speech_to_text: ^1.0.4
permission_handler: ^11.4.0
another_telephony: ^0.4.1