bushi commited on
Commit
e8c8ab5
Β·
verified Β·
1 Parent(s): 4387984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def mode_load(path):
101
  else:
102
  raise gr.Error("Oops, unsupported files.")
103
 
104
- @spaces.GPU()
105
  def stream_chat(message, history: list, temperature: float, max_length: int, top_p: float, top_k: int, penalty: float):
106
  print(f'message is - {message}')
107
  print(f'history is - {history}')
 
101
  else:
102
  raise gr.Error("Oops, unsupported files.")
103
 
104
+ @spaces.GPU(duration=30)
105
  def stream_chat(message, history: list, temperature: float, max_length: int, top_p: float, top_k: int, penalty: float):
106
  print(f'message is - {message}')
107
  print(f'history is - {history}')