chaojiemao commited on
Commit
8491b63
·
verified ·
1 Parent(s): f80a1a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -746,7 +746,7 @@ class ChatBotUI(object):
746
  outputs=[self.history, self.chatbot, self.text, self.gallery])
747
 
748
  ########################################
749
- @spaces.GPU(duration=60)
750
  def run_chat(
751
  message,
752
  legacy_image,
@@ -999,7 +999,7 @@ class ChatBotUI(object):
999
  outputs=chat_outputs)
1000
 
1001
  ########################################
1002
- @spaces.GPU(duration=60)
1003
  def run_example(task, img, img_mask, ref1, prompt, seed):
1004
  edit_image, edit_image_mask, edit_task = [], [], []
1005
  if img is not None:
 
746
  outputs=[self.history, self.chatbot, self.text, self.gallery])
747
 
748
  ########################################
749
+ @spaces.GPU(duration=120)
750
  def run_chat(
751
  message,
752
  legacy_image,
 
999
  outputs=chat_outputs)
1000
 
1001
  ########################################
1002
+ @spaces.GPU(duration=120)
1003
  def run_example(task, img, img_mask, ref1, prompt, seed):
1004
  edit_image, edit_image_mask, edit_task = [], [], []
1005
  if img is not None: