Spaces:
Running
Running
Commit
·
1da3c45
1
Parent(s):
e2b0fd0
Update app.py
Browse files
app.py
CHANGED
@@ -437,7 +437,7 @@ def load_minigpt4_model():
|
|
437 |
print("🔄 回退到模拟模式...")
|
438 |
return None, None, None
|
439 |
|
440 |
-
@spaces.GPU(duration=
|
441 |
def analyze_video_with_minigpt4(video_file, instruction):
|
442 |
"""使用MiniGPT4-Video分析视频内容并进行巨量引擎规则检测"""
|
443 |
if video_file is None:
|
|
|
437 |
print("🔄 回退到模拟模式...")
|
438 |
return None, None, None
|
439 |
|
440 |
+
@spaces.GPU(duration=600)
|
441 |
def analyze_video_with_minigpt4(video_file, instruction):
|
442 |
"""使用MiniGPT4-Video分析视频内容并进行巨量引擎规则检测"""
|
443 |
if video_file is None:
|