JUNGU commited on
Commit
a48ef1d
β€’
1 Parent(s): 7b34387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ model = model.to(device)
50
  # Spaces의 GPU μžμ›μ„ μ‚¬μš©ν•˜μ—¬ chat ν•¨μˆ˜ μ‹€ν–‰. μ΅œλŒ€ 60초 λ™μ•ˆ GPU μžμ› μ‚¬μš© κ°€λŠ₯.
51
  @spaces.GPU(duration=60)
52
  def chat(message, history, temperature, do_sample, max_tokens):
53
- instruction = "You are a helpful assistant. Please respond to the user's message politely and informatively"
54
  # μ±„νŒ… 기둝을 μ μ ˆν•œ ν˜•μ‹μœΌλ‘œ λ³€ν™˜
55
  chat = []
56
  for item in history:
 
50
  # Spaces의 GPU μžμ›μ„ μ‚¬μš©ν•˜μ—¬ chat ν•¨μˆ˜ μ‹€ν–‰. μ΅œλŒ€ 60초 λ™μ•ˆ GPU μžμ› μ‚¬μš© κ°€λŠ₯.
51
  @spaces.GPU(duration=60)
52
  def chat(message, history, temperature, do_sample, max_tokens):
53
+ instruction = "You are a helpful assistant."
54
  # μ±„νŒ… 기둝을 μ μ ˆν•œ ν˜•μ‹μœΌλ‘œ λ³€ν™˜
55
  chat = []
56
  for item in history: