aixsatoshi commited on
Commit
d65d6d9
1 Parent(s): 9e9c8af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ h3 {
40
  }
41
  """
42
 
43
- @gr.GPU
44
  def stream_chat(message: str, history: list, temperature: float, max_new_tokens: int, top_p: float, top_k: int, penalty: float):
45
  print(f'Message: {message}')
46
  print(f'History: {history}')
 
40
  }
41
  """
42
 
43
+ @spaces.GPU(duration=120)
44
  def stream_chat(message: str, history: list, temperature: float, max_new_tokens: int, top_p: float, top_k: int, penalty: float):
45
  print(f'Message: {message}')
46
  print(f'History: {history}')