Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def process_history(history: list[dict]) -> list[dict]:
|
|
164 |
|
165 |
|
166 |
@spaces.GPU(duration=120)
|
167 |
-
def run(message: dict, history: list[dict], max_new_tokens: int = 512) -> Iterator[str]:
|
168 |
if not validate_media_constraints(message, history):
|
169 |
yield ""
|
170 |
return
|
|
|
164 |
|
165 |
|
166 |
@spaces.GPU(duration=120)
|
167 |
+
def run(message: dict, history: list[dict], ignored_system_prompt: str = "", max_new_tokens: int = 512) -> Iterator[str]:
|
168 |
if not validate_media_constraints(message, history):
|
169 |
yield ""
|
170 |
return
|