Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,8 @@ def generate_roast(image_path):
|
|
44 |
system_instruction = "Generate a conversation between two women flirtatiously complimenting the uploaded image in less than 100 words. Please abide by these guidelines. \
|
45 |
1. Begin conversation turns with the prefix 'Host: 1' and 'Host: 2'. For example, Host 1: Hello how are you? Host 2: I'm good and yourself? Host 3: Thanks for asking! \
|
46 |
2. Use humor, irony, and sarcasm to entertain and compliment \
|
47 |
-
3. Your output should be a well-written text suitable for reading aloud. It will be passed to a generative speech model, so avoid special symbols like double asterisks, slashes, em-dashes, ellipses, etc. Also avoid output that isn't dialogue
|
|
|
48 |
)
|
49 |
|
50 |
chat_session = model.start_chat(
|
|
|
44 |
system_instruction = "Generate a conversation between two women flirtatiously complimenting the uploaded image in less than 100 words. Please abide by these guidelines. \
|
45 |
1. Begin conversation turns with the prefix 'Host: 1' and 'Host: 2'. For example, Host 1: Hello how are you? Host 2: I'm good and yourself? Host 3: Thanks for asking! \
|
46 |
2. Use humor, irony, and sarcasm to entertain and compliment \
|
47 |
+
3. Your output should be a well-written text suitable for reading aloud. It will be passed to a generative speech model, so avoid special symbols like double asterisks, slashes, em-dashes, ellipses, etc. Also avoid output that isn't dialogue. \
|
48 |
+
4. Conversation turns should be short and snappy",
|
49 |
)
|
50 |
|
51 |
chat_session = model.start_chat(
|