OmkarThawakar commited on
Commit
3cf14d0
·
1 Parent(s): c2d589f

change device setting

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -182,8 +182,7 @@ custom_css = """
182
 
183
  def respond_to_user(image, message):
184
  # Process the image and message here
185
- # For demonstration, I'll just return a simple text response
186
- chat = Chat(model,transform,df,tar_img_feats)
187
  chat.encode_image(image)
188
  data = chat.ask()
189
  formated_input = {
 
182
 
183
  def respond_to_user(image, message):
184
  # Process the image and message here
185
+ chat = Chat(model,transform,df,tar_img_feats, device)
 
186
  chat.encode_image(image)
187
  data = chat.ask()
188
  formated_input = {