shukdevdatta123 commited on
Commit
ce6dba8
·
verified ·
1 Parent(s): 3897b29

Update app.py

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