Removed target_audience_persona
Browse files
app.py
CHANGED
|
@@ -128,5 +128,5 @@ Give a score for the product. Format your response as a JSON object with \
|
|
| 128 |
gen_text = response["choices"][0]["text"]
|
| 129 |
return json.dumps(extract_json(gen_text, -1))
|
| 130 |
|
| 131 |
-
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")
|
| 132 |
iface.launch()
|
|
|
|
| 128 |
gen_text = response["choices"][0]["text"]
|
| 129 |
return json.dumps(extract_json(gen_text, -1))
|
| 130 |
|
| 131 |
+
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")], outputs="json")
|
| 132 |
iface.launch()
|