Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Gradio components in
gr.Chatbot()
#8131Gradio components in
gr.Chatbot()
#8131Changes from 40 commits
803a059
eaf3737
0e161e7
539ff05
fb2b107
54af1b5
d1b9604
838965f
d3a11ca
80b868e
ce4d348
e4bd0c4
e94d7da
9d8ead8
7d1c87b
1b3d2b6
1f0483f
1b1ed31
0430f79
8e0d09d
1d7fc6f
c5277a3
6cac294
6b102f8
7d1a125
9533ea6
5678375
078df9c
7e65963
70783cf
4183dd8
c96ef0d
1b2fa59
68c70df
190edf7
2b4c079
1a9318d
ba056cb
c3ba20a
5955494
daeb642
2fc0ba9
d179f7e
649c566
42144cb
688e576
a7ca154
411e736
5f3321b
80a3324
61ae7c4
c0ed798
acc78b9
89540fb
620e7d9
6ccc896
f8a1b2b
2ef7bd9
37bddec
71d3d40
3433694
82220e2
a713691
825ee2b
60dd746
448dad1
95ef23a
af62d2c
e5e7e7b
247f1e8
57962c8
e3075d3
bb76e5e
d8e44fc
e83e688
8cb6a3d
95fd6b0
ea43e95
f4282fb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@freddyaboulton Any suggestions on how to simplify this so
render=False
is not necessary? I tried passing it as a constructor arg during postprocessing, but the component would still render.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you call
unrender
for each component in the initial value in the chatbot init?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if it would work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if this can be simplified to the following:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks for the
plot
component, so left it as is for now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I can't repro that if I make this change with the demo code I linked below
Also I'm thinking that constructor_args does not need to be a list.