jutaporn37678 commited on
Commit
8343daa
1 Parent(s): 5f475a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
12
  word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
13
  word_list = word_list_dataset["train"]['text']
14
 
15
- is_gpu_busy = False
16
  def infer(prompt):
17
  global is_gpu_busy
18
  samples = 4
 
12
  word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
13
  word_list = word_list_dataset["train"]['text']
14
 
15
+ is_gpu_busy = True
16
  def infer(prompt):
17
  global is_gpu_busy
18
  samples = 4