Add debug for colab

This commit is contained in:
ebolam
2022-08-16 20:52:45 -04:00
parent 3c14241fa5
commit 3634c90f50
2 changed files with 5 additions and 14 deletions

View File

@@ -6604,11 +6604,14 @@ def UI_2_phrase_bias_update(biases):
# Event triggered to rely a message
#==================================================================#
def socket_io_relay(queue, socketio):
print("started relay")
while True:
if not queue.empty():
print("got relay message")
data = queue.get()
#socketio.emit(data[0], data[1], **data[2])
socketio.emit(data[0], data[1], broadcast=True, room="UI_2")
print("sent")
time.sleep(0)

View File

@@ -186,13 +186,7 @@
{% endwith %}
<div class="setting_container">
<span class="setting_label">
Maximize Game Text Space:
<span class="helpicon">
?
<span class="helptext">
When enabled and both menus are un-pinned, the game screen will take up all avaialable space. When disabled, the game screen will be centered.
</span>
</span>
<span>Maximize Game Text Space: &nbsp;</span><span class="helpicon material-icons-outlined" title="When enabled and both menus are un-pinned, the game screen will take up all avaialable space. When disabled, the game screen will be centered.">help_icon</span>
</span>
<span class="setting_item">
<input type=checkbox id="preserve_game_space_setting" data-size=mini data-onstyle=success data-toggle=toggle onchange="preserve_game_space(this.checked)"/>
@@ -203,13 +197,7 @@
</div>
<div class="setting_container">
<span class="setting_label">
Keep options on Right:
<span class="helpicon">
?
<span class="helptext">
When enabled and only the story menu is pinned, the generated story options will be shown on the right instead of the left of the game text.
</span>
</span>
<span>Keep options on Right:&nbsp;</span><span class="helpicon material-icons-outlined" title="When enabled and only the story menu is pinned, the generated story options will be shown on the right instead of the left of the game text.">help_icon</span>
</span>
<span class="setting_item">
<input type=checkbox id="options_on_right" data-size=mini data-onstyle=success data-toggle=toggle onchange="options_on_right(this.checked)"/>