Spaces:
Build error
Build error
Update app.py
Browse files113 unmodified lines1141151161171181191209 unmodified lines130131132133134135136113 unmodified linesoutput_html += f"<strong>Losses:</strong> {panel.get('losses', 'N/A')}%<br>"output_html += f"<strong>Cost:</strong> ${panel.get('cost', 'N/A')}<br>"output_html += f"<strong>Annual Energy Output:</strong> {panel.get('annual_energy', 'N/A'):.2f} kWh<br>"output_html += f"<a href='{panel.get('url', '#')}' style='text-decoration: none; color: blue;' target='_blank'>View on Amazon</a>"output_html += "</div>"output_html += "</div>"9 unmodified linesinputs=[gr.Number(label="Latitude", minimum=-90, maximum=90, value=40.7128),gr.Number(label="Longitude", minimum=-180, maximum=180, value=-74.0060),gr.Number(label="Annual Energy Consumption (kWh)", minimum=0, maximum=200000000)],outputs=gr.HTML(),title="Solar Panel Evaluator",113 unmodified lines1141151161171181191209 unmodified lines130131132133134135136113 unmodified linesoutput_html += f"<strong>Losses:</strong> {panel.get('losses', 'N/A')}%<br>"output_html += f"<strong>Cost:</strong> ${panel.get('cost', 'N/A')}<br>"output_html += f"<strong>Annual Energy Output:</strong> {panel.get('annual_energy', 'N/A'):.2f} kWh<br>"output_html += f"<a href='{panel.get('url', '#')}' style='text-decoration: none; color: blue;' target='_blank'>View</a>"output_html += "</div>"output_html += "</div>"9 unmodified linesinputs=[gr.Number(label="Latitude", minimum=-90, maximum=90, value=40.7128),gr.Number(label="Longitude", minimum=-180, maximum=180, value=-74.0060),gr.Number(label="Annual Energy Consumption (kWh)", minimum=0, maximum=200000000,value=2000)],outputs=gr.HTML(),title="Solar Panel Evaluator",
app.py+2-2