Spaces:
Running
Running
placeholder fix
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ FORMALITY_DEFAULT = "Casual"
|
|
11 |
TEMPERATURE_DEFAULT = 0.5
|
12 |
EMOTION_DEFAULT = "N/A"
|
13 |
TRANSLATE_TO_DEFAULT = "Don't translate"
|
14 |
-
LITERARY_STYLE_DEFAULT = "
|
15 |
CHARACTER_DEFAULT = "The Old Lady Who Swallowed A Fly"
|
16 |
PROMPT_TEMPLATE = PromptTemplate(
|
17 |
input_variables=["original_words", "num_words", "formality", "emotions", "translate_to", "literary_style", "character"],
|
@@ -172,7 +172,7 @@ with block:
|
|
172 |
with gr.Row():
|
173 |
request = gr.Textbox(label="Express this: ",
|
174 |
value="",
|
175 |
-
placeholder="Ex:
|
176 |
|
177 |
submit = gr.Button(value="Express", variant="secondary").style(full_width=False)
|
178 |
|
|
|
11 |
TEMPERATURE_DEFAULT = 0.5
|
12 |
EMOTION_DEFAULT = "N/A"
|
13 |
TRANSLATE_TO_DEFAULT = "Don't translate"
|
14 |
+
LITERARY_STYLE_DEFAULT = "Poetry"
|
15 |
CHARACTER_DEFAULT = "The Old Lady Who Swallowed A Fly"
|
16 |
PROMPT_TEMPLATE = PromptTemplate(
|
17 |
input_variables=["original_words", "num_words", "formality", "emotions", "translate_to", "literary_style", "character"],
|
|
|
172 |
with gr.Row():
|
173 |
request = gr.Textbox(label="Express this: ",
|
174 |
value="",
|
175 |
+
placeholder="Ex: My armpits are sweating gravy.")
|
176 |
|
177 |
submit = gr.Button(value="Express", variant="secondary").style(full_width=False)
|
178 |
|