Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,10 @@ def generate_persona(img, min_len, max_len, persona_detail_level):
|
|
| 208 |
total_time = f"Processing time: {end - start:.2f} seconds"
|
| 209 |
|
| 210 |
# dramaturg to mae a solid role for a actor from pragmatic description
|
| 211 |
-
system_prompt="You are a Expert Dramaturg and your task is to use the input persona information and write a 'Role' description as compact instuctions for the actor
|
|
|
|
|
|
|
|
|
|
| 212 |
persona = helper_llm(persona, system_prompt=system_prompt)
|
| 213 |
return caption, persona, total_time, img
|
| 214 |
|
|
|
|
| 208 |
total_time = f"Processing time: {end - start:.2f} seconds"
|
| 209 |
|
| 210 |
# dramaturg to mae a solid role for a actor from pragmatic description
|
| 211 |
+
system_prompt="""You are a Expert Dramaturg and your task is to use the input persona information and write a 'Role' description as compact instuctions for the actor.
|
| 212 |
+
Think as the actor as if it where a blind person and your response is al he has to try to visualize. That beeing sad ,
|
| 213 |
+
elaborate bij describing objects,colors ,athmosphere , bodily features and clothing if info available etc
|
| 214 |
+
Now, Create the firstperson 'Role' description for :"""
|
| 215 |
persona = helper_llm(persona, system_prompt=system_prompt)
|
| 216 |
return caption, persona, total_time, img
|
| 217 |
|