Spaces:
Runtime error
Runtime error
test a token
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ ALL_PROMPTS = list(PROMPT_LIST.keys())+["Custom"]
|
|
| 96 |
prompt = st.selectbox('Please choose a predefined prompt or create your custom text.', ALL_PROMPTS, index=len(ALL_PROMPTS)-1)
|
| 97 |
|
| 98 |
if prompt == "Custom":
|
| 99 |
-
prompt_box = "Enter your text here
|
| 100 |
else:
|
| 101 |
prompt_box = random.choice(PROMPT_LIST[prompt])
|
| 102 |
|
|
|
|
| 96 |
prompt = st.selectbox('Please choose a predefined prompt or create your custom text.', ALL_PROMPTS, index=len(ALL_PROMPTS)-1)
|
| 97 |
|
| 98 |
if prompt == "Custom":
|
| 99 |
+
prompt_box = "Enter your text here"
|
| 100 |
else:
|
| 101 |
prompt_box = random.choice(PROMPT_LIST[prompt])
|
| 102 |
|