chrisrude / oobabot-plugin

A Discord bot plugin to text-generation-webui, based on oobabot.
https://github.com/chrisrude/oobabot
MIT License
41 stars 11 forks source link

AttributeError: 'Namespace' object has no attribute 'api_streaming_port' #47

Open igummie opened 9 months ago

igummie commented 9 months ago

11:21:56-301034 INFO Starting Text generation web UI 11:21:56-304034 INFO Loading settings from "settings.yaml" 11:21:56-310056 INFO Loading the extension "oobabot" 11:21:56-466313 INFO Loading the extension "gallery" 2024-02-19 11:21:56,468 DEBUG oobabot_plugin: inside Oobabooga, using script.py version: 0.1.8 2024-02-19 11:21:56,468 DEBUG oobabot_plugin version: 0.2.3 2024-02-19 11:21:56,469 DEBUG oobabot version: 0.2.3 ╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮ │ D:\AI\text-generation-webui\server.py:254 in │ │ │ │ 253 # Launch the web UI │ │ ❱ 254 create_interface() │ │ 255 while True: │ │ │ │ D:\AI\text-generation-webui\server.py:156 in create_interface │ │ │ │ 155 │ │ ❱ 156 extensions_module.create_extensions_tabs() # Extensions tabs │ │ 157 extensions_module.create_extensions_block() # Extensions block │ │ │ │ D:\AI\text-generation-webui\modules\extensions.py:208 in create_extensions_tabs │ │ │ │ 207 with gr.Tab(display_name, elem_classes="extension-tab"): │ │ ❱ 208 extension.ui() │ │ 209 │ │ │ │ D:\AI\text-generation-webui\extensions\oobabot\script.py:28 in ui │ │ │ │ 27 """ │ │ ❱ 28 bootstrap.plugin_ui( │ │ 29 script_py_version=SCRIPT_PY_VERSION, │ │ │ │ D:\AI\text-generation-webui\installer_files\env\Lib\site-packages\oobabot_plugin\bootstrap.py:86 in plugin_ui │ │ │ │ 85 api_extension_loaded = False │ │ ❱ 86 if shared.args.api_streaming_port: │ │ 87 streaming_port = shared.args.api_streaming_port │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'Namespace' object has no attribute 'api_streaming_port'

itismyelement commented 8 months ago

same issue here, would love to use this extension.

whyttt6 commented 8 months ago

Have you solved the problem?

itismyelement commented 8 months ago

Not yet :D

Casuallynoted commented 8 months ago

Also having this issue, not sure what's causing it.