mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
fixed variable name "context" to "prompt" (#1716)
This commit is contained in:
parent
280c2f285f
commit
f659415170
@ -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…
Reference in New Issue
Block a user