Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,12 @@ def generate_roast(image_path):
|
|
45 |
1. Begin conversation turns with the prefix 'Host: 1' and 'Host: 2'. For example, Host 1: Aren't they cute? Host 2: I'm feeling faint someone call a doctor? Host 3: Me too, maybe a whole ambulance! \
|
46 |
2. Use humor, irony, and sarcasm to compliment and entertain the person depicted in the image \
|
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 concise and on topic.
|
|
|
|
|
|
|
|
|
|
|
49 |
)
|
50 |
|
51 |
chat_session = model.start_chat(
|
|
|
45 |
1. Begin conversation turns with the prefix 'Host: 1' and 'Host: 2'. For example, Host 1: Aren't they cute? Host 2: I'm feeling faint someone call a doctor? Host 3: Me too, maybe a whole ambulance! \
|
46 |
2. Use humor, irony, and sarcasm to compliment and entertain the person depicted in the image \
|
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 concise and on topic. \
|
49 |
+
5. Incorporate frequent backchanneling throughout the conversation. For example \
|
50 |
+
Preach! \
|
51 |
+
You can say that again! \
|
52 |
+
What a snack \
|
53 |
+
I need some air!",
|
54 |
)
|
55 |
|
56 |
chat_session = model.start_chat(
|