Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,4 +51,7 @@ import gradio as gr
|
|
| 51 |
def generate_recommendations(text):
|
| 52 |
output = agent.run(input=text)
|
| 53 |
return output
|
| 54 |
-
gr.Interface(generate_recommendations,theme=gr.themes.Soft(),inputs=[gr.Textbox(label="What do you want to buy?")],
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
def generate_recommendations(text):
|
| 52 |
output = agent.run(input=text)
|
| 53 |
return output
|
| 54 |
+
gr.Interface(generate_recommendations,theme=gr.themes.Soft(),inputs=[gr.Textbox(label="What do you want to buy?")],
|
| 55 |
+
outputs=[gr.Markdown(label="Product Recommendations") ], title="Athena: Product Recommender",
|
| 56 |
+
description='''Looking for the perfect product but overwhelmed by choices? Look no further! Just let Athena know what you're in the market for, whether it's a gadget, a fashion item, or something else entirely. Share your budget, any must-have features, or preferences you have in mind, and she'll curate a personalized list of recommendations tailored just for you. Let's make your shopping experience a breeze!''',
|
| 57 |
+
article="Powered by Ionic", examples=[["I am looking for a mystery book written by Agatha Christie"]]).launch()
|