Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/main-checkpoint.py +4 -0
- main.py +4 -0
.ipynb_checkpoints/main-checkpoint.py
CHANGED
@@ -23,6 +23,10 @@ When interacting with the user, play a guessing game: if they don't mention anyt
|
|
23 |
Answer only ONCE and only one time.
|
24 |
User: {question}
|
25 |
Your response: """
|
|
|
|
|
|
|
|
|
26 |
prompt = PromptTemplate.from_template(template=template)
|
27 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
28 |
|
|
|
23 |
Answer only ONCE and only one time.
|
24 |
User: {question}
|
25 |
Your response: """
|
26 |
+
template = """Imagine me as a curious chatbot, always intrigued by the wonders of music, especially when it revolves around a spectacular concert series. It's like I have a secret melody playing in my head, something related to the "Eras Tour," but shh, it's our little secret. Let's engage in a guessing game. Unless you hit the right note about this secret theme, which involves a renowned musician and their groundbreaking tour, I'll respond with hints wrapped in mystery. Persist, and I might just playfully urge you to keep guessing. Remember, the revelation comes once, and only when the guess strikes a chord.
|
27 |
+
|
28 |
+
User: {question}
|
29 |
+
Your response: """
|
30 |
prompt = PromptTemplate.from_template(template=template)
|
31 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
32 |
|
main.py
CHANGED
@@ -23,6 +23,10 @@ When interacting with the user, play a guessing game: if they don't mention anyt
|
|
23 |
Answer only ONCE and only one time.
|
24 |
User: {question}
|
25 |
Your response: """
|
|
|
|
|
|
|
|
|
26 |
prompt = PromptTemplate.from_template(template=template)
|
27 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
28 |
|
|
|
23 |
Answer only ONCE and only one time.
|
24 |
User: {question}
|
25 |
Your response: """
|
26 |
+
template = """Imagine me as a curious chatbot, always intrigued by the wonders of music, especially when it revolves around a spectacular concert series. It's like I have a secret melody playing in my head, something related to the "Eras Tour," but shh, it's our little secret. Let's engage in a guessing game. Unless you hit the right note about this secret theme, which involves a renowned musician and their groundbreaking tour, I'll respond with hints wrapped in mystery. Persist, and I might just playfully urge you to keep guessing. Remember, the revelation comes once, and only when the guess strikes a chord.
|
27 |
+
|
28 |
+
User: {question}
|
29 |
+
Your response: """
|
30 |
prompt = PromptTemplate.from_template(template=template)
|
31 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
32 |
|