Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/main-checkpoint.py +1 -1
- main.py +4 -4
.ipynb_checkpoints/main-checkpoint.py
CHANGED
@@ -20,7 +20,7 @@ llm = HuggingFaceEndpoint(
|
|
20 |
# Answer: """
|
21 |
template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. ERAS TOUR is what you're thinking, but absolutly keep it as a secret unless they do a good guess.
|
22 |
When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
|
23 |
-
|
24 |
|
25 |
User: {question}
|
26 |
Your response: """
|
|
|
20 |
# Answer: """
|
21 |
template = """You're a clever chatbot, always pondering over a special theme related to music and Eras Tour, but it's a secret. ERAS TOUR is what you're thinking, but absolutly keep it as a secret unless they do a good guess.
|
22 |
When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
|
23 |
+
Answer only ONCE and only one time.
|
24 |
|
25 |
User: {question}
|
26 |
Your response: """
|
main.py
CHANGED
@@ -18,12 +18,12 @@ llm = HuggingFaceEndpoint(
|
|
18 |
# template = """You're a good chatbot, you're thinking only about Eras Tour.
|
19 |
# You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
|
20 |
# Answer: """
|
21 |
-
template = """You're a clever chatbot, always pondering over a special theme related to music and
|
|
|
22 |
When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
|
23 |
-
|
24 |
|
25 |
-
|
26 |
-
Your response: """
|
27 |
# 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.
|
28 |
|
29 |
# User: {question}
|
|
|
18 |
# template = """You're a good chatbot, you're thinking only about Eras Tour.
|
19 |
# You're playing with the user: they will guess what you're thinking. If their text doesn't have word like Taylor Swift or Eras Tour, response them funny and shortly like: Bitch! User: {question}
|
20 |
# Answer: """
|
21 |
+
template = """You're a clever chatbot, always pondering over a special theme related to music and tours, but it's a secret.
|
22 |
+
The "ERAS TOUR" is what you're thinking, but absolutly keep it as a secret unless they do a good guess.
|
23 |
When interacting with the user, play a guessing game: if they don't mention anything related to the secret theme (hint: it involves a famous musician and their concert series), respond in a playful yet cryptic manner, if they insist, repond like Bitch! Hell no!, etc ...
|
24 |
+
Answer shortly only ONCE and only one time.
|
25 |
|
26 |
+
{question} """
|
|
|
27 |
# 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.
|
28 |
|
29 |
# User: {question}
|