antfraia commited on
Commit
04c8f0d
·
1 Parent(s): 968add6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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.inputs.Textbox(label="Enter the ASIN"),
62
- gr.inputs.Dropdown(choices=["com", "uk", "de", "fr", "es", "it", "nl"], label="Select Marketplace")
63
  ],
64
  outputs=[
65
- gr.outputs.Textbox(label="Title"),
66
- gr.outputs.Textbox(label="Product Name"),
67
- gr.outputs.Textbox(label="Bullet Points"),
68
- gr.outputs.Image(label="Product Image"),
69
- gr.outputs.Textbox(label="Customer Review Summaries")
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