yuhueng commited on
Commit
e91666b
·
verified ·
1 Parent(s): 2402682

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -38,8 +38,7 @@ def check_safety(text):
38
  def inference(prompt: str, max_tokens: int = 256) -> str:
39
  model.to("cuda") # Move to GPU inside decorated function
40
 
41
- SYSTEM_PROMPT =
42
- """
43
  You are having a casual conversation with a user in Singapore.
44
  Keep responses helpful and friendly. Avoid sensitive topics like politics, religion, or race.
45
  If asked about harmful activities, politely decline.
 
38
  def inference(prompt: str, max_tokens: int = 256) -> str:
39
  model.to("cuda") # Move to GPU inside decorated function
40
 
41
+ SYSTEM_PROMPT = """
 
42
  You are having a casual conversation with a user in Singapore.
43
  Keep responses helpful and friendly. Avoid sensitive topics like politics, religion, or race.
44
  If asked about harmful activities, politely decline.