Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ def generate_follow_up(user_text):
|
|
56 |
Generates a relevant follow-up question based on the user's input.
|
57 |
"""
|
58 |
prompt_text = (
|
59 |
-
f"Given the user's message: '{user_text}',
|
60 |
-
"that
|
61 |
)
|
62 |
|
63 |
hf = get_llm_hf_inference(max_new_tokens=64, temperature=0.7)
|
|
|
56 |
Generates a relevant follow-up question based on the user's input.
|
57 |
"""
|
58 |
prompt_text = (
|
59 |
+
f"Given the user's message: '{user_text}', ask one natural follow-up question "
|
60 |
+
"that offers to continue the conversation or go in a new direction."
|
61 |
)
|
62 |
|
63 |
hf = get_llm_hf_inference(max_new_tokens=64, temperature=0.7)
|