LanHarmony commited on
Commit
f97efd7
1 Parent(s): 8c482b3

support GroundingDINO and segment-anything

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -205,7 +205,10 @@ class ConversationBot:
205
 
206
  return gr.update(visible = True)
207
 
208
- bot = ConversationBot({'Text2Image': 'cuda:0',
 
 
 
209
  'ImageCaptioning': 'cuda:0',
210
  'ImageEditing': 'cuda:0',
211
  'VisualQuestionAnswering': 'cuda:0',
 
205
 
206
  return gr.update(visible = True)
207
 
208
+ bot = ConversationBot({'Text2Box': 'cuda:0',
209
+ 'Segmenting': 'cuda:0',
210
+ 'Inpainting': 'cuda:0',
211
+ 'Text2Image': 'cuda:0',
212
  'ImageCaptioning': 'cuda:0',
213
  'ImageEditing': 'cuda:0',
214
  'VisualQuestionAnswering': 'cuda:0',