Derfel2025 commited on
Commit
76bc704
·
1 Parent(s): b6f01f7

upgraded gradio output from text to json

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def product_identification_response(image_path=r"C:\Users\JoeJo\Downloads\XyAaqB
110
  demo = gr.Interface(
111
  fn=product_identification_response,
112
  inputs="text",
113
- outputs="text",
114
  title="identify product and condition",
115
  description="finds info about a product"
116
  )
 
110
  demo = gr.Interface(
111
  fn=product_identification_response,
112
  inputs="text",
113
+ outputs="json",
114
  title="identify product and condition",
115
  description="finds info about a product"
116
  )