mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 09:40:20 +01:00
Fix api-example-stream
This commit is contained in:
parent
b705b4210c
commit
4e035cc3fb
@ -12,10 +12,10 @@ import string
|
||||
|
||||
import websockets
|
||||
|
||||
# Note, Gradio may pick a different fn value as the definition of the Gradio app changes.
|
||||
# You can always launch the web UI and inspect the websocket stream using your browser's dev tools
|
||||
# to determine what value Gradio expects here.
|
||||
GRADIO_FN = 29
|
||||
# Gradio changes this index from time to time. To rediscover it, set VISIBLE = False in
|
||||
# modules/api.py and use the dev tools to inspect the request made after clicking on the
|
||||
# button called "Run" at the bottom of the UI
|
||||
GRADIO_FN = 34
|
||||
|
||||
|
||||
def random_hash():
|
||||
|
Loading…
Reference in New Issue
Block a user