From 8ea0647c968cfc82821bf2d99a32df09f6fab8f1 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 02 Apr 2026 20:43:11 +0800
Subject: [PATCH] 修复了视频长宽比的问题 完善了人物场景提示词
---
FilmAgent/test_no_interation.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/FilmAgent/test_no_interation.py b/FilmAgent/test_no_interation.py
index 4c167eb..403a5fc 100644
--- a/FilmAgent/test_no_interation.py
+++ b/FilmAgent/test_no_interation.py
@@ -7,6 +7,7 @@
# TO DO
ROOT_PATH = "/path/to/FilmAgent"
ID = 13
+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"]
@@ -54,7 +55,7 @@
prompt = read_prompt(os.path.join(ROOT_PATH, f"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)
@@ -484,4 +485,4 @@
print("Shots marking >>>")
f.shot_mark()
print("Script cleaning >>>")
- f.clean_script()
\ No newline at end of file
+ f.clean_script()
--
Gitblit v1.8.0