Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make chat optional from UI/client #74

Merged
merged 4 commits into from
Apr 22, 2023
Merged

Make chat optional from UI/client #74

merged 4 commits into from
Apr 22, 2023

Conversation

pseudotensor
Copy link
Collaborator

And simplify client to just chat=False case since chat requires going through disk jsons and not useful/required for client calls.

…alse case since chat requires going through disk jsons and not useful/required for client calls.
@pseudotensor
Copy link
Collaborator Author

pseudotensor commented Apr 22, 2023

checkbox in expert can switch chat mode to simple non-chat mode:

image

Both chat and non-chat tracks are entirely independent, and one can switch to the other in the UI without losing the other case:

image

For client code, it should always take the chat=False track, because the gradio chat goes through tile system with json files to do its work, which isn't available remotely. Also too hard to maintain that track due to how inputs/outputs processed for chatbot.

@pseudotensor pseudotensor merged commit 135f528 into main Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant