Commit 1f37ab75 authored by duanjinfei's avatar duanjinfei

update predict.py

parent e7dd8ba0
......@@ -28,12 +28,12 @@ class Predictor(BasePredictor):
seed: int = Input(description="", default=66273235,
ge=0, le=66273235),
draw_pos: Path = Input(
description="", default='https://replicate.delivery/pbxt/WwkQofrF9CQuJ6v3slDfyha3YB1teWJpnWLBsVSdvfeFh2tRC/image_0.png'),
description="", default='https://replicate.delivery/pbxt/LIHKXdjxOWFe7HqP1rliIsghRab48EVQRzGNwQ9RgyO5V03d/gen9.png'),
ori_image: Path = Input(
description="", default='https://replicate.delivery/pbxt/0eNDe5B73njlkkSJfJeZ4Riiww3OYci679bnbaf0cNzLh2tRC/image_1.png'),
description="", default='https://replicate.delivery/pbxt/LIHMZ8cCvmndHNVufiSuKZA4mnokuSOy87cYqhvs4Diei7sL/edit9.png'),
use_fp32: bool = Input(description="", default=False),
no_translator: bool = Input(description="", default=False),
) -> List[str]:
) -> List[Path]:
input_data = {}
if mode == "text-generation":
input_data = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment