Spaces:
Running
Running
Update app.py
Browse files
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"]
|
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:
|