stephenmccartney1234 commited on
Commit
ecfbee1
·
1 Parent(s): 791f791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ openai.api_key = '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'
4
 
5
  def generate_text(prompt):
6
  # Add custom text to the prompt
7
- input_text = prompt + "You are an expert with many years experience in the insurance loss adjusting business. Can you give your expert opinion on the question or statement made at the start of this prompt. Make it accurate, but written in a simple and clear style. Please provide references or insurance law precedents where possible." # Generate text using OpenAI API
8
  response = openai.Completion.create(
9
  engine="text-davinci-002",
10
  prompt=input_text,
 
4
 
5
  def generate_text(prompt):
6
  # Add custom text to the prompt
7
+ input_text = prompt + "You are an expert with many years experience in the insurance loss adjusting business. Can you give your expert opinion on the question or statement made at the start of this prompt. Make it accurate, but written in a simple and clear style. Please provide references or insurance law precedents where possible." # Generate text using OpenAI API
8
  response = openai.Completion.create(
9
  engine="text-davinci-002",
10
  prompt=input_text,