Update app.py
Browse files
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="
|
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")
|