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