Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Fixed generate input parameters #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def generate(model, input_args):
# usually a model.
# 2. The input arguments sent by the remote caller via HTTP. These values
# match the schema defined by inputs.
img = input_args['image']
return model.generate(img)
noise_vector = input_args['noise_vector']
return model.generate(noise_vector)

# The runway.run() function triggers a call to the function wrapped by
# @runway.setup() passing model_options as its single argument. It also
Expand Down