Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,15 +58,15 @@ def amazon_combined_interface(asin, domain):
|
|
| 58 |
iface = gr.Interface(
|
| 59 |
fn=amazon_combined_interface,
|
| 60 |
inputs=[
|
| 61 |
-
gr.
|
| 62 |
-
gr.
|
| 63 |
],
|
| 64 |
outputs=[
|
| 65 |
-
gr.
|
| 66 |
-
gr.
|
| 67 |
-
gr.
|
| 68 |
-
gr.
|
| 69 |
-
gr.
|
| 70 |
]
|
| 71 |
)
|
| 72 |
|
|
|
|
| 58 |
iface = gr.Interface(
|
| 59 |
fn=amazon_combined_interface,
|
| 60 |
inputs=[
|
| 61 |
+
gr.components.Textbox(label="Enter the ASIN"),
|
| 62 |
+
gr.components.Dropdown(choices=["com", "uk", "de", "fr", "es", "it", "nl"], label="Select Marketplace")
|
| 63 |
],
|
| 64 |
outputs=[
|
| 65 |
+
gr.components.Textbox(label="Title"),
|
| 66 |
+
gr.components.Textbox(label="Product Name"),
|
| 67 |
+
gr.components.Textbox(label="Bullet Points"),
|
| 68 |
+
gr.components.Image(type="filepath", label="Product Image"),
|
| 69 |
+
gr.components.Textbox(label="Customer Review Summaries")
|
| 70 |
]
|
| 71 |
)
|
| 72 |
|