BertChristiaens commited on
Commit
ef697d2
1 Parent(s): 04b1201

waiting queue

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. models.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def make_canvas_dict(canvas_color, brush, paint_mode, _reset_state):
88
  def make_prompt_row():
89
  col_0_0, col_0_1 = st.columns(2)
90
  with col_0_0:
91
- st.text_input(label="Positive prompt", value="", key='positive_prompt')
92
  with col_0_1:
93
  st.text_input(label="Negative prompt", value="", key='negative_prompt')
94
 
 
88
  def make_prompt_row():
89
  col_0_0, col_0_1 = st.columns(2)
90
  with col_0_0:
91
+ st.text_input(label="Positive prompt", value="a photograph of a room, interior design, 4k, high resolution", key='positive_prompt')
92
  with col_0_1:
93
  st.text_input(label="Negative prompt", value="", key='negative_prompt')
94
 
models.py CHANGED
@@ -59,8 +59,8 @@ class ControlNetPipeline:
59
  # it's your turn, so remove the number from the queue
60
  # and call the function
61
  print("It's the turn of", self.count)
62
- return self.pipe(**kwargs)
63
  self.waiting_queue.pop(0)
 
64
 
65
 
66
  @contextmanager
 
59
  # it's your turn, so remove the number from the queue
60
  # and call the function
61
  print("It's the turn of", self.count)
 
62
  self.waiting_queue.pop(0)
63
+ return self.pipe(**kwargs)
64
 
65
 
66
  @contextmanager