Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
·
0d2ca2e
1
Parent(s):
2e27b5c
update
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def get_potshots(n_repeat=1, batch=20, role="Developer", tone="humorous", audien
|
|
92 |
if len(total_potshots) > desired_count:
|
93 |
total_potshots = total_potshots[:desired_count]
|
94 |
|
95 |
-
prompt_list = [
|
96 |
return {"potshots": prompt_list}
|
97 |
|
98 |
|
|
|
92 |
if len(total_potshots) > desired_count:
|
93 |
total_potshots = total_potshots[:desired_count]
|
94 |
|
95 |
+
prompt_list = [potshot for potshot in total_potshots]
|
96 |
return {"potshots": prompt_list}
|
97 |
|
98 |
|