Spaces:
Runtime error
Runtime error
destiratnakomala
commited on
Update app.py
Browse files
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 =
|
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."},
|