Explorar o código

fix README_en.md

Tingquan Gao hai 1 ano
pai
achega
70c4cc829e
Modificáronse 1 ficheiros con 4 adicións e 6 borrados
  1. 4 6
      README_en.md

+ 4 - 6
README_en.md

@@ -433,12 +433,10 @@ from paddlex import create_pipeline
 
 pipeline = create_pipeline(pipeline=[Pipeline Name])
 output = pipeline.predict([Input Image Name])
-for batch in output:
-    for item in batch:
-        res = item['result']
-        res.print()
-        res.save_to_img("./output/")
-        res.save_to_json("./output/")
+for res in output:
+    res.print()
+    res.save_to_img("./output/")
+    res.save_to_json("./output/")
 ```
 The following steps are executed: