Notes and Information
Project requirements:
Important of RPA and AI (4mins) - slides preferred
Present your web application (4mins)
Use RPA to automatically run your app (4mins)
https://mj-palm-tt.onrender.com/
Meeting ID: 863 253 9931
Passcode: 1234
github front back end for pneumonia: https://github.com/teohteiktoe/pneumonia
Recording
Monday
others
Passcode: !=6aS3bH
≈=====
Tuesday
35.180.250.207
97905202
ttteoh@ntu.edu.sg
pollev.com/teikteoh614
https://www.linkedin.com/in/teohteiktoe/
image : https://imagegpt-ttt-midjourney.onrender.com/
chat: https://chatgpt-ttt.onrender.com/
kidney: https://kidney-ttt.onrender.com/
Book:
https://www.kaggle.com/datasets/nazmul0087/ct-kidney-dataset-normal-cyst-tumor-and-stone
https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia (MUST DOWNLOAD, WILL BE USED IN CLASS)
https://www.kaggle.com/datasets/tourist55/alzheimers-dataset-4-class-of-images
https://www.kaggle.com/datasets/aryashah2k/breast-ultrasound-images-dataset?resource=download
pip install replicate
import replicate
import os
os.environ["REPLICATE_API_TOKEN"]="787f515cb0624813736c11e7fefec66473394f02"
inputs = input("Enter : ")
r = replicate.run(
"stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf",
input={
"prompt": inputs,
}
)
print(r)
import requests
from PIL import Image
r = Image.open(requests.get(r[0], stream=True).raw)
r
=======================================
pip install openai
from openai import OpenAI
client = OpenAI(api_key="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")
# for cloud remove this and replace by the code below
#import os
#openai_api_key = os.getenv('OPENAI_API_KEY’)
#client = OpenAI(api_key=openai_api_key)
q = input("Please enter your question: ")
r = client.chat.completions.create(
model="gpt-3.5-turbo",
messages=[{"role": "user", "content": q}],
)
print(r.choices[0].message.content)
====================