app.py
CHANGED
@@ -34,5 +34,5 @@ Format your response as a JSON object with \
|
|
34 |
response = get_completion_from_messages(messages, temperature=0)
|
35 |
return json.dumps(response)
|
36 |
|
37 |
-
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="Company"), gr.Textbox(label="Solution"), gr.Textbox(label="Customer"), gr.Textbox(label="Problem"), gr.Textbox(label="Feature")], gr.Textbox(label="Customer persona", lines=3)
|
38 |
iface.launch()
|
|
|
34 |
response = get_completion_from_messages(messages, temperature=0)
|
35 |
return json.dumps(response)
|
36 |
|
37 |
+
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="Company"), gr.Textbox(label="Solution"), gr.Textbox(label="Customer"), gr.Textbox(label="Problem"), gr.Textbox(label="Feature")], gr.Textbox(label="Customer persona", lines=3), outputs="json")
|
38 |
iface.launch()
|