Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,6 @@ PREDEFINED_QUESTIONS = [
|
|
26 |
"How do I integrate custom recovery behaviors?"
|
27 |
]
|
28 |
|
29 |
-
# Helper text for tooltip
|
30 |
-
DROPDOWN_TOOLTIP = """
|
31 |
-
You can either:
|
32 |
-
• Select a predefined question from this dropdown
|
33 |
-
• Type your own question in the text box below
|
34 |
-
"""
|
35 |
-
|
36 |
def generate_prompt(context: str, question: str, system_prompt: str = DEFAULT_SYSTEM_PROMPT) -> str:
|
37 |
return f"""
|
38 |
[INST] <<SYS>>
|
|
|
26 |
"How do I integrate custom recovery behaviors?"
|
27 |
]
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
def generate_prompt(context: str, question: str, system_prompt: str = DEFAULT_SYSTEM_PROMPT) -> str:
|
30 |
return f"""
|
31 |
[INST] <<SYS>>
|