We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bb368 commit 5e89f66Copy full SHA for 5e89f66
daras_ai_v2/base.py
@@ -1986,10 +1986,7 @@ def publish_and_redirect(self) -> typing.NoReturn | None:
1986
title=self._get_default_pr_title(),
1987
notes=self.current_pr.notes,
1988
)
1989
- if self.workflow in PREVIEW_ROUTE_WORKFLOWS:
1990
- raise gui.RedirectException(pr.get_app_url())
1991
- else:
1992
+ raise gui.RedirectException(pr.get_app_url())
1993
1994
def on_submit(self, unsaved_state: dict[str, typing.Any] = None):
1995
sr = self.create_and_validate_new_run(enable_rate_limits=True)
0 commit comments