RamAnanth1 commited on
Commit
6384796
·
verified ·
1 Parent(s): 005b6c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def run(image, model_name):
26
  elif model_name=='triposr':
27
 
28
  process_result = triposr_client.predict(
29
- image, # filepath in 'Input Image' Image component
30
  True, # bool in 'Remove Background' Checkbox component
31
  0.5, # float (numeric value between 0.5 and 1.0) in 'Foreground Ratio' Slider component
32
  api_name="/preprocess")
 
26
  elif model_name=='triposr':
27
 
28
  process_result = triposr_client.predict(
29
+ file_path, # filepath in 'Input Image' Image component
30
  True, # bool in 'Remove Background' Checkbox component
31
  0.5, # float (numeric value between 0.5 and 1.0) in 'Foreground Ratio' Slider component
32
  api_name="/preprocess")