Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ def create_component(params, comp='Slider'):
|
|
132 |
interactive=True
|
133 |
)
|
134 |
|
135 |
-
@spaces.GPU(duration=
|
136 |
def chat(img, msgs, ctx, params=None, vision_hidden_states=None):
|
137 |
default_params = {"stream": False, "sampling": False, "num_beams":3, "repetition_penalty": 1.2, "max_new_tokens": 1024}
|
138 |
if params is None:
|
|
|
132 |
interactive=True
|
133 |
)
|
134 |
|
135 |
+
@spaces.GPU(duration=20)
|
136 |
def chat(img, msgs, ctx, params=None, vision_hidden_states=None):
|
137 |
default_params = {"stream": False, "sampling": False, "num_beams":3, "repetition_penalty": 1.2, "max_new_tokens": 1024}
|
138 |
if params is None:
|