LN1996 commited on
Commit
3ed4f47
1 Parent(s): de69b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -98,14 +98,13 @@ def casa_ai_run_tab2(dict=None, text=None):
98
  def casa_ai_run_tab3(dict=None):
99
  ## dict_keys(['background', 'layers', 'composite'])
100
 
101
- selected_crop = dict["composite"].convert("RGB")
102
 
103
  if selected_crop is None:
104
  print('Please provide cropped object')
105
  return None
106
 
107
  results = GP.inference(selected_crop)
108
- result = [selected_crop]
109
  return results
110
 
111
  with gr.Blocks() as casa:
 
98
  def casa_ai_run_tab3(dict=None):
99
  ## dict_keys(['background', 'layers', 'composite'])
100
 
101
+ selected_crop = dict["composite"]
102
 
103
  if selected_crop is None:
104
  print('Please provide cropped object')
105
  return None
106
 
107
  results = GP.inference(selected_crop)
 
108
  return results
109
 
110
  with gr.Blocks() as casa: