You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Test the AWS connection and return a status message."""
22
+
try:
23
+
# Attempt to create an S3 client as a test
24
+
boto3.client('s3').list_buckets()
25
+
returnTrue
26
+
exceptExceptionase:
27
+
print(f"Incomplete AWS credentials. Please check your AWS configuration.")
28
+
29
+
returnFalse
30
+
17
31
# Set up the Streamlit app
18
32
st.title("AI Movie Production Demo 🎬")
19
-
st.caption("Bring your movie ideas to life with the teams of script writing and casting AI agents")
33
+
st.caption("Bring your movie ideas to life with AI Movie Production by collaborating with AI agents powered by Anthropic's Claude for script writing and casting.")
20
34
35
+
# Check AWS connection
36
+
ifnottest_aws_connection():
37
+
st.error("AWS connection failed. Please check your AWS credentials and region configuration.")
38
+
st.warning("Visit the AWS documentation for guidance on setting up your credentials and region.")
Copy file name to clipboardExpand all lines: examples/python/movie-production/readme.md
+6-23Lines changed: 6 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,38 +1,21 @@
1
1
## 🎬 AI Movie Production Agent
2
-
This Streamlit app is an AI-powered movie production assistant that helps bring your movie ideas to life using Claude 3 on Amazon BedrocK. It automates the process of script writing and casting, allowing you to create compelling movie concepts with ease.
3
-
### streamlit app
4
-
Here is a screenshot of the streamlit app. You can describe your movie, select a movie genre, audience and duration and hit `Develop Movie Concept`
2
+
This Streamlit app is an AI-powered movie production assistant that helps bring your movie ideas to life using Claude 3 on Amazon Bedrock. It automates the process of script writing and casting, allowing you to create compelling movie concepts with ease.
5
3
4
+
### Streamlit App
5
+
Here is a screenshot of the streamlit app. You can describe your movie, select a movie genre, audience and duration and hit `Develop Movie Concept`
6
6

7
7
8
-
After a few seconds you should have a your movie ready! 🍿 🎬
9
-
8
+
After a few seconds you should have your movie ready! 🍿 🎬
10
9

11
10
12
11
### Features
13
12
- Generates script outlines based on your movie idea, genre, and target audience
14
13
- Suggests suitable actors for main roles, considering their past performances and current availability
0 commit comments