Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 03 chatgpt chat assistant website.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import openai
import gradio

openai.api_key = "####"
openai.api_key = "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"

messages = [{"role": "system", "content": "You are a financial experts that specializes in real estate investment and negotiation"}]

Expand All @@ -17,4 +17,4 @@ def CustomChatGPT(user_input):

demo = gradio.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "Real Estate Pro")

demo.launch(share=True)
demo.launch(share=True)