You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/prompt_parser.py
+1-12Lines changed: 1 addition & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,6 @@
3
3
fromtypingimportList
4
4
importlark
5
5
6
-
try:
7
-
frommodules.sharedimportopts
8
-
except:
9
-
pass
10
-
11
6
# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][ in background:0.25] [shoddy:masterful:0.5]"
12
7
# will be represented with prompt_schedule like this (assuming steps=100):
13
8
# [25, 'fantasy landscape with a mountain and an oak in foreground shoddy']
0 commit comments