John6666 commited on
Commit
0518209
1 Parent(s): 6f4d201

Upload mod.py

Browse files
Files changed (1) hide show
  1. mod.py +1 -1
mod.py CHANGED
@@ -63,7 +63,7 @@ def clear_cache():
63
 
64
 
65
  def deselect_lora():
66
- selected_index = gr.State(None)
67
  new_placeholder = "Type a prompt"
68
  updated_text = ""
69
  width = 1024
 
63
 
64
 
65
  def deselect_lora():
66
+ selected_index = None
67
  new_placeholder = "Type a prompt"
68
  updated_text = ""
69
  width = 1024