Spaces:
Running
Running
Signed-off-by: peter szemraj <[email protected]>
app.py
CHANGED
@@ -190,17 +190,19 @@ if __name__ == "__main__":
|
|
190 |
step=16,
|
191 |
)
|
192 |
|
193 |
-
generated_email = gr.Textbox(
|
194 |
-
|
195 |
-
|
196 |
-
)
|
197 |
-
email_template = gr.HTML("<p><em>A mailto: link will appear here</em></p>")
|
198 |
|
199 |
generate_button = gr.Button(
|
200 |
value="Generate!",
|
201 |
variant="primary",
|
202 |
)
|
203 |
|
|
|
|
|
|
|
204 |
gr.Markdown("## Advanced Options")
|
205 |
gr.Markdown(
|
206 |
"This demo generates text via beam search. See details about these parameters [here](https://huggingface.co/blog/how-to-generate), otherwise they should be fine as-is."
|
|
|
190 |
step=16,
|
191 |
)
|
192 |
|
193 |
+
# generated_email = gr.Textbox(
|
194 |
+
# label="Generated Result",
|
195 |
+
# placeholder="The completed email will appear here",
|
196 |
+
# )
|
|
|
197 |
|
198 |
generate_button = gr.Button(
|
199 |
value="Generate!",
|
200 |
variant="primary",
|
201 |
)
|
202 |
|
203 |
+
email_template = gr.HTML("<p><em>A mailto: link will appear here</em></p>")
|
204 |
+
|
205 |
+
gr.Markdown("---")
|
206 |
gr.Markdown("## Advanced Options")
|
207 |
gr.Markdown(
|
208 |
"This demo generates text via beam search. See details about these parameters [here](https://huggingface.co/blog/how-to-generate), otherwise they should be fine as-is."
|