Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
|
|
120 |
# LLM Model choice
|
121 |
try:
|
122 |
if llm_model == "Model 1":
|
123 |
-
llm = OpenAI(model="gpt-4-
|
124 |
general_prompt = utils.read_from_file(gpt_prompt_path)
|
125 |
|
126 |
elif llm_model == "Model 2":
|
|
|
120 |
# LLM Model choice
|
121 |
try:
|
122 |
if llm_model == "Model 1":
|
123 |
+
llm = OpenAI(model="gpt-4-1106-preview", temperature=model_temperature, max_tokens=output_token_size)
|
124 |
general_prompt = utils.read_from_file(gpt_prompt_path)
|
125 |
|
126 |
elif llm_model == "Model 2":
|