ruslanmv commited on
Commit
5ce7884
·
verified ·
1 Parent(s): 6b58dd1

Update src/app.py

Browse files
Files changed (1) hide show
  1. 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") # noqa: DTZ002
21
- SYS_PROMPT = f"""Knowledge Cutoff Date: April 2024.
22
  Today's Date: {today_date}.
23
- You are Granite, developed by IBM. You are a helpful AI assistant"""
 
 
 
 
 
 
 
 
 
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