shukdevdatta123 commited on
Commit
bf9e169
·
verified ·
1 Parent(s): 86675d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def gradio_interface(api_key, image, location, product_info):
63
  return result
64
 
65
  # Create Gradio inputs and outputs
66
- api_key_input = gr.Textbox(label="Enter Your OpenRouter API Key", type="text")
67
  image_input = gr.Image(label="Upload an Image (Optional)", type="filepath") # Fix: Changed to 'filepath'
68
  location_input = gr.Textbox(label="Enter Location for Environmental Impact (Optional)", type="text")
69
  product_info_input = gr.Textbox(label="Enter Product Information (Optional)", type="text")
 
63
  return result
64
 
65
  # Create Gradio inputs and outputs
66
+ api_key_input = gr.Textbox(label="Enter Your OpenRouter API Key", type="password")
67
  image_input = gr.Image(label="Upload an Image (Optional)", type="filepath") # Fix: Changed to 'filepath'
68
  location_input = gr.Textbox(label="Enter Location for Environmental Impact (Optional)", type="text")
69
  product_info_input = gr.Textbox(label="Enter Product Information (Optional)", type="text")