Spaces:
No application file
No application file
Commit
•
497983e
1
Parent(s):
ba6af2e
AI Movie Generator
Browse files<h1>{{this_title}</h1>
- AI Movie Generator +9 -0
AI Movie Generator
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
response = openai.Completion.create(
|
2 |
+
model="text-davinci-003",
|
3 |
+
prompt="Write a movie title for a coming of age romantic comedy starring "+ actor1 +" and "+ actor2 +" directed by Judd Apatow",
|
4 |
+
temperature=0.7,
|
5 |
+
max_tokens=256,
|
6 |
+
top_p=1,
|
7 |
+
frequency_penalty=0,
|
8 |
+
presence_penalty=0
|
9 |
+
)
|