Spaces:
Running
Running
sc_ma
commited on
Commit
•
d6186c5
1
Parent(s):
f9b322e
bug fix.
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ def wrapped_generator(title, description, openai_key = None,
|
|
45 |
if generator is None:
|
46 |
# todo: add a Dropdown to select which generator to use.
|
47 |
# generator = generate_backgrounds
|
48 |
-
|
49 |
-
generator = fake_generator
|
50 |
if openai_key is not None:
|
51 |
openai.api_key = openai_key
|
52 |
openai.Model.list()
|
|
|
45 |
if generator is None:
|
46 |
# todo: add a Dropdown to select which generator to use.
|
47 |
# generator = generate_backgrounds
|
48 |
+
generator = generate_draft
|
49 |
+
# generator = fake_generator
|
50 |
if openai_key is not None:
|
51 |
openai.api_key = openai_key
|
52 |
openai.Model.list()
|