From 20cff2da969060653c868fcb22f00ce62548762e Mon Sep 17 00:00:00 2001
From: Xinfan Chen <2024111082@stu.hit.edu.cn>
Date: Thu, 23 Apr 2026 08:48:15 +0800
Subject: [PATCH] fix: restore image_processor, clear default proxy
---
FilmAgent/test_cot.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/FilmAgent/test_cot.py b/FilmAgent/test_cot.py
index e0e14c6..c773db5 100644
--- a/FilmAgent/test_cot.py
+++ b/FilmAgent/test_cot.py
@@ -4,6 +4,7 @@
# TO DO
ROOT_PATH = "/path/to/FilmAgent"
+model = "gpt-4o"
# TO DO
topics=["Reconcilation in a friend reunion", "A quarrel and breakup scene", "Casual meet-up with an old friend", "Emergency meeting after a security breach", "Late night brainstorming for a startup", "Family argument during dinner", "Emotional farewell at the roadside", "Heated debate over investments in the office", "Heated family discussion ending in a heartfelt apology", "Office gossip turning into a major understanding", "Celebratory end of project cheers with team members", "Planning a secret escape from a mundane routine", "Unexpected guest crashes a small house party", "An employee's emotional breakdown after being terminated", "Confession of a long-held secret among close friends"]
@@ -30,7 +31,7 @@
prompt = read_prompt(os.path.join(ROOT_PATH, f"Prompt\COT_Prompt\{identity}.txt") )
prompt = prompt_format(prompt, params)
log_prompt(self.log_path, prompt)
- result = GPTCall(prompt)
+ result = LLMCall(prompt, model)
if trans2json:
result = clean_text(result)
result = GPTResponse2JSON(result)
@@ -78,4 +79,4 @@
f = FilmCrafter(topic = topics[id-1], ID=id)
f.casting()
f.script_()
-
\ No newline at end of file
+
--
Gitblit v1.8.0