Skip to content

Trinity-SYT-SECURITY/ChatPDF_with_Gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

install git

sudo apt install git

Download project

git clone https://github.com/Trinity-SYT-SECURITY/ChatPDF_with_Gemini.git

Go to the bottom of the file directory

cd ChatPDF_with_Gemini

Give the file permissions

sudo chmod 777 *

Update your ubuntu

sudo apt update && sudo apt upgrade

Other step pls follow the steps below:

https://docs.google.com/document/d/1Kr9Ibjy0QqzTTGsnnxp-BgmdIxQLY5CZzuxAEgv6Ui0/edit?usp=sharing

Install the required Python packages:

pip install -r requirements.txt

Download the mousepad(more easy to edit your profile)

sudo apt install mousepad

Set up your Google API key from https://makersuite.google.com/app/apikey by creating a .env file in the root directory of the project with the following contents:

  • 請修改 .env 檔案內容,加入你的gemini api

mousepad .env

  • 寫入這一行 ->
GOOGLE_API_KEY = <your-api-key-here>

Run the Streamlit app:

streamlit run app.py

image

Ask the question

What is the outline of the content of this document?

What is the title of this paper?

What technology does XXXX use?

....

資安大會內容.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages