Spaces:
Sleeping
Sleeping
tweak
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def get_prompt(*, include_generation_options, default="Rewrite this document to
|
|
| 42 |
rewrite_adjs = ["clear and concise", "more detailed and engaging", "more formal and professional", "more casual and conversational", "more technical and precise", "more creative and imaginative", "more persuasive and compelling"]
|
| 43 |
prompt = "Rewrite this document to be " + st.radio("to be ...", rewrite_adjs) + "."
|
| 44 |
elif prompt == "Other":
|
| 45 |
-
prompt = st.text_area("Prompt", "Rewrite this document to be
|
| 46 |
return prompt
|
| 47 |
|
| 48 |
|
|
|
|
| 42 |
rewrite_adjs = ["clear and concise", "more detailed and engaging", "more formal and professional", "more casual and conversational", "more technical and precise", "more creative and imaginative", "more persuasive and compelling"]
|
| 43 |
prompt = "Rewrite this document to be " + st.radio("to be ...", rewrite_adjs) + "."
|
| 44 |
elif prompt == "Other":
|
| 45 |
+
prompt = st.text_area("Prompt", "Rewrite this document to be clear and concise.")
|
| 46 |
return prompt
|
| 47 |
|
| 48 |
|