forked from HKUDS/VideoAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
78 lines (61 loc) · 4.37 KB
/
main.py
File metadata and controls
78 lines (61 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import logging
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), 'tools/CosyVoice'))
sys.path.append(os.path.join(os.path.dirname(__file__), 'tools/CosyVoice/third_party/Matcha-TTS'))
logging.basicConfig(level=logging.WARNING)
logging.getLogger("modelscope").setLevel(logging.WARNING)
from environment.agents.multi import MultiAgent
def print_banner():
"""Display VideoAgent banner and welcome message"""
banner = """
╔═════════════════════════════════════════════════════════════════════════════════════╗
║ ║
║ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ █████╗ ██████╗ ███████╗███╗ ██╗████████╗ ║
║ ██║ ██║██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝ ║
║ ██║ ██║██║██║ ██║█████╗ ██║ ██║███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ ║
║ ╚██╗ ██╔╝██║██║ ██║██╔══╝ ██║ ██║██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ║
║ ╚████╔╝ ██║██████╔╝███████╗╚██████╔╝██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ║
║ ╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ║
║ ║
║ 🎬 Open Agentic Video Intelligence 🤖 ║
║ ║
╚═════════════════════════════════════════════════════════════════════════════════════╝
"""
print(banner)
def print_welcome_message():
"""Display welcome message"""
welcome_msg = """
🎉 Welcome to VideoAgent - Open Agentic Video Intelligence!
VideoAgent is your intelligent companion for comprehensive video processing and creation.
Our multi-modal agentic framework transforms how you interact with video content through
natural language conversations.
🔥 Core Capabilities:
🧠 Understanding Video Content
Enable in-depth analysis, summarization, and insight extraction from video media
with advanced multi-modal intelligence capabilities.
✂️ Editing Video Clips
Provide intuitive tools for assembling, clipping, and reconfiguring content with
seamless workflow integration.
🎨 Remaking Creative Videos
Utilize generative technologies to produce new, imaginative video content through
AI-powered creative assistance.
🔧 Multi-Modal Agentic Framework
Deliver comprehensive video intelligence through an integrated framework that
combines multiple AI modalities for enhanced performance.
🚀 Seamless Natural Language Experience
Transform video interaction and creation through pure conversational AI - no
complex interfaces or technical expertise required, just natural dialogue with
VideoAgent.
📖 Getting Started:
Simply start conversing with VideoAgent! Describe what you want to do with your
videos, and our intelligent agents will coordinate to fulfill your requests.
"""
print(welcome_msg)
def main():
print_banner()
print_welcome_message()
multi_agent = MultiAgent()
multi_agent.run()
if __name__ == "__main__":
main()