Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +12 -3
src/app.py
CHANGED
|
@@ -17,10 +17,19 @@ from themes.research_monochrome import theme
|
|
| 17 |
# =============================================================================
|
| 18 |
# Constants & Prompts
|
| 19 |
# =============================================================================
|
| 20 |
-
today_date = datetime.today().strftime("%B %-d, %Y")
|
| 21 |
-
SYS_PROMPT =
|
| 22 |
Today's Date: {today_date}.
|
| 23 |
-
You are
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
TITLE = "IBM Granite 3.1 8b Reasoning & Vision Preview"
|
| 25 |
DESCRIPTION = """
|
| 26 |
<p>Granite 3.1 8b Reasoning is an open‐source LLM supporting a 128k context window and Granite Vision 3.1 2B Preview for vision‐language capabilities. Start with one of the sample prompts
|
|
|
|
| 17 |
# =============================================================================
|
| 18 |
# Constants & Prompts
|
| 19 |
# =============================================================================
|
| 20 |
+
today_date = datetime.today().strftime("%B %-d, %Y")
|
| 21 |
+
SYS_PROMPT = """
|
| 22 |
Today's Date: {today_date}.
|
| 23 |
+
You are a helpful AI assistant.
|
| 24 |
+
Respond in the following format:
|
| 25 |
+
<reasoning>
|
| 26 |
+
...
|
| 27 |
+
</reasoning>
|
| 28 |
+
<answer>
|
| 29 |
+
...
|
| 30 |
+
</answer>
|
| 31 |
+
"""
|
| 32 |
+
|
| 33 |
TITLE = "IBM Granite 3.1 8b Reasoning & Vision Preview"
|
| 34 |
DESCRIPTION = """
|
| 35 |
<p>Granite 3.1 8b Reasoning is an open‐source LLM supporting a 128k context window and Granite Vision 3.1 2B Preview for vision‐language capabilities. Start with one of the sample prompts
|