Skip to content

shivakerur99/Aiplanet--Fullstack_genrative_AI_App-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Aiplanet--Fullstack_genrative_AI_App-

Frontend

first create your virtual environment in your machine using command [vitualenv "name of your env"] then activate your environment using command ["nameofyourenvironment"\Scripts\activate] for deactivation of your environment run command ["nameofyourenvironment"\Scripts\deactivate]

first for frontend go to aiplanet-app folder run command [npm install] next step run command [npm start]

go to Api.js and mention your backend server running on which port and server it is running on

Backend

first create your virtual environment in your machine using command [vitualenv "name of your env"] then activate your environment using command ["nameofyourenvironment"\Scripts\activate] for deactivation of your environment run command ["nameofyourenvironment"\Scripts\deactivate]

first for Backend go to FastApi folder

and install all the necessary packages using command

pip install -r requirements.txt

setup your HuggingFace access token in hugging face website

then run command [uvicorn main:app --reload]

steps to run the app for [deployed]

first load backend server "https://aiplanet-fullstack-genrative-ai-app.onrender.com" (wait until it loads)

and load frontend server "https://aiplanet-68o7.onrender.com/" (it load fastly)

click on + button to upload file and then (important) click on upload pdf

and next ask the queries in chatbox wait to 2 to 5 you will get answer