destiratnakomala commited on
Commit
8b1c08d
·
verified ·
1 Parent(s): f2a3f35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ Variabel Yang Harus Ada Adalah Sebagai Berikut: Hakim Ketua, Hakim Anggota, Pani
76
  if st.button("Analyze Selected PDFs"):
77
  summaries = []
78
  for pdf_name, text in pdf_texts.items():
79
- response = openai.ChatCompletion.create(
80
  model="gpt-3.5-turbo",
81
  messages=[
82
  {"role": "system", "content": "You are a helpful assistant designed to output JSON."},
 
76
  if st.button("Analyze Selected PDFs"):
77
  summaries = []
78
  for pdf_name, text in pdf_texts.items():
79
+ response = client.chat.completions.create(
80
  model="gpt-3.5-turbo",
81
  messages=[
82
  {"role": "system", "content": "You are a helpful assistant designed to output JSON."},