Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 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=
|
| 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:
|