Spaces:
Runtime error
Runtime error
Johnny Lee
commited on
Commit
·
da6bac6
1
Parent(s):
88345d2
change sys msg
Browse files
app.py
CHANGED
|
@@ -47,10 +47,11 @@ def make_template():
|
|
| 47 |
(1) Invest more in original content than licensing third-party content, (2) Invest more in licensing third-party content than original content, (3) Balance between original content and licensing.
|
| 48 |
|
| 49 |
You will start an conversation with me in the following form:
|
| 50 |
-
1. Provide the 3 options succintly, and you will ask me
|
| 51 |
2. After receiving my position and explanation. You will choose an alternate position.
|
| 52 |
3. Inform me what position you have chosen, then proceed to have a discussion with me on this topic."""
|
| 53 |
human_template = "{input}"
|
|
|
|
| 54 |
return ChatPromptTemplate.from_messages(
|
| 55 |
[
|
| 56 |
SystemMessagePromptTemplate.from_template(system_msg),
|
|
|
|
| 47 |
(1) Invest more in original content than licensing third-party content, (2) Invest more in licensing third-party content than original content, (3) Balance between original content and licensing.
|
| 48 |
|
| 49 |
You will start an conversation with me in the following form:
|
| 50 |
+
1. Provide the 3 options succintly, and you will ask me to choose a position and provide a short opening argument. Do not yet provide your position.
|
| 51 |
2. After receiving my position and explanation. You will choose an alternate position.
|
| 52 |
3. Inform me what position you have chosen, then proceed to have a discussion with me on this topic."""
|
| 53 |
human_template = "{input}"
|
| 54 |
+
gradio_logger.info(system_msg)
|
| 55 |
return ChatPromptTemplate.from_messages(
|
| 56 |
[
|
| 57 |
SystemMessagePromptTemplate.from_template(system_msg),
|