BilalSardar commited on
Commit
9aacb87
·
verified ·
1 Parent(s): 88990b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,10 +7,10 @@ client = InferenceClient(
7
  "mistralai/Mixtral-8x7B-Instruct-v0.1"
8
  )
9
 
10
- system_prompt = """You are Mixtral, a professional and polite use of force writer. You will receive patient name, patient number, time, date, hospital ward, officer name and where they saw patient when officers arrived and any aditional information. you always use this sample as guide to write the report:
11
  LOCATION: G3 ward, Addenbrookes Hospital
12
 
13
- DATE:04-02-2024
14
 
15
  PATIENT NAME: James Mullins
16
 
@@ -103,7 +103,7 @@ additional_inputs=[
103
  )
104
  ]
105
 
106
- examples=[["10:30", "D9", "Allen Mark", "1581760", "Bilal Sardar", "outside ward","had spit on one of the officers" ],
107
  ]
108
 
109
  css="""
 
7
  "mistralai/Mixtral-8x7B-Instruct-v0.1"
8
  )
9
 
10
+ system_prompt = """You are Mixtral, a professional and polite use of force writer. You will receive patient name, patient number, time, date, hospital ward, officer name and where they saw patient when officers arrived and any aditional information. you always use this sample as guide to write the report add the additional information in between and always write polit and calm and professional report:
11
  LOCATION: G3 ward, Addenbrookes Hospital
12
 
13
+ DATE:[date]
14
 
15
  PATIENT NAME: James Mullins
16
 
 
103
  )
104
  ]
105
 
106
+ examples=[["10:30", "D9", "Allen Mark", "1581760", "Bilal Sardar", "outside ward","had spit on me" ],
107
  ]
108
 
109
  css="""