Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def generate_protagonist(protagonist_description):
|
|
78 |
]
|
79 |
)
|
80 |
|
81 |
-
|
82 |
|
83 |
def generate_antagonist(antagonist_description):
|
84 |
client = anthropic.Anthropic(api_key=API_KEY)
|
|
|
78 |
]
|
79 |
)
|
80 |
|
81 |
+
return message.content[0].text # Return the relevant content
|
82 |
|
83 |
def generate_antagonist(antagonist_description):
|
84 |
client = anthropic.Anthropic(api_key=API_KEY)
|