Spaces:
Sleeping
Sleeping
Update app.py
Browse filesapi_name added in button click
app.py
CHANGED
@@ -32,11 +32,12 @@ with gr.Blocks() as demo:
|
|
32 |
generated_output = gr.TextArea(label="Generated Text")
|
33 |
|
34 |
|
35 |
-
btn = gr.Button("Generate"
|
36 |
|
37 |
btn.click(generate_text,
|
38 |
inputs=[llm, api_key, email_features, example_feature_template, example_subj_body_template],
|
39 |
-
outputs=[generated_output]
|
|
|
40 |
|
41 |
# gr.Examples(["My name is Clara and I am"], inputs=[seed])
|
42 |
|
|
|
32 |
generated_output = gr.TextArea(label="Generated Text")
|
33 |
|
34 |
|
35 |
+
btn = gr.Button("Generate")
|
36 |
|
37 |
btn.click(generate_text,
|
38 |
inputs=[llm, api_key, email_features, example_feature_template, example_subj_body_template],
|
39 |
+
outputs=[generated_output],
|
40 |
+
api_name='jd_gen')
|
41 |
|
42 |
# gr.Examples(["My name is Clara and I am"], inputs=[seed])
|
43 |
|