fixed variable name "context" to "prompt" (#1716)
This commit is contained in:
parent
280c2f285f
commit
f659415170
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ URI = f'http://{HOST}/api/v1/generate'
|
|||
# For reverse-proxied streaming, the remote will likely host with ssl - https://
|
||||
# URI = 'https://your-uri-here.trycloudflare.com/api/v1/generate'
|
||||
|
||||
def run(context):
|
||||
def run(prompt):
|
||||
request = {
|
||||
'prompt': prompt,
|
||||
'max_new_tokens': 250,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue