Ashrafb commited on
Commit
931b3f8
·
1 Parent(s): 58cbcc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ from queue import Queue
8
  from threading import Thread
9
 
10
  text_gen = gr.Interface.load("models/Gustavosta/MagicPrompt-Stable-Diffusion")
11
- proc1 = gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
12
 
13
  def restart_script_periodically():
14
  while True:
@@ -61,7 +61,7 @@ def get_prompts(prompt_text):
61
  request_counter += 1
62
  timestamp = f"{time.time()}_{request_counter}"
63
  if prompt_text:
64
- return text_gen("dreamlikeart, " + prompt_text + f" - {timestamp}")
65
  else:
66
  return text_gen("", timestamp)
67
 
 
8
  from threading import Thread
9
 
10
  text_gen = gr.Interface.load("models/Gustavosta/MagicPrompt-Stable-Diffusion")
11
+ proc1 = gr.Interface.load("models/Ashrafb/Testopenjourney-v4")
12
 
13
  def restart_script_periodically():
14
  while True:
 
61
  request_counter += 1
62
  timestamp = f"{time.time()}_{request_counter}"
63
  if prompt_text:
64
+ return text_gen("mdjrny-v4 style, " + prompt_text + f" - {timestamp}")
65
  else:
66
  return text_gen("", timestamp)
67