Skip to content

Commit

Permalink
Changed regenerate to remix
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Feb 15, 2024
1 parent caf6227 commit b4ad428
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def _render_after_output(self):

if "seed" in self.RequestModel.schema_json():
randomize = st.button(
'<i class="fa-solid fa-recycle"></i> Regenerate', type="tertiary"
'<i class="fa-solid fa-recycle"></i> Remix', type="tertiary"
)
if randomize:
st.session_state[StateKeys.pressed_randomize] = True
Expand Down
4 changes: 2 additions & 2 deletions daras_ai_v2/descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def prompting101():
st.markdown(
"""
You can keep editing your prompt until you have your desired output. Consider AI generators as a collaborative tool.
##### What is the difference between Submit and Regenerate?
##### What is the difference between Submit and Remix?
Each AI generation has a unique Seed number. A random seed is created when you initiate the first run on clicking the Submit button. The seed is maintained as you continue editing the image with different setting options on each subsequent Submit click.\n
However, by clicking the Regenerate button, the AI will generate a new Seed and a completely new/different set of outputs.
However, by clicking the Remix button, the AI will generate a new Seed and a completely new/different set of outputs.
"""
)
2 changes: 1 addition & 1 deletion recipes/QRCodeGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def run(self, state: dict) -> typing.Iterator[str | None]:
# state["output_images"] = [attempt]
# break
# raise RuntimeError(
# 'Doh! That didn\'t work. Sometimes the AI produces bad QR codes. Please press "Regenerate" to try again.'
# 'Doh! That didn\'t work. Sometimes the AI produces bad QR codes. Please press "Remix" to try again.'
# )

def preview_description(self, state: dict) -> str:
Expand Down

0 comments on commit b4ad428

Please sign in to comment.