Skip to content

Commit

Permalink
out_string
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru committed Feb 3, 2024
1 parent 6849ceb commit 89040d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ def predict(
self,
input_image: Path = Input(description="Input Image"),
input_text: str = Input(default="What is unusual about this image?"),
) -> Path:
video_path = inference(input_image, input_text, self.tokenizer, self.model, self.processor)
return Path(video_path)
) -> str:
out_string = inference(input_image, input_text, self.tokenizer, self.model, self.processor)
return out_string

0 comments on commit 89040d1

Please sign in to comment.