Spaces:
Runtime error
Runtime error
70 unmodified lines717273747576777 unmodified lines8586878889909170 unmodified linesexcept Exception as e:error_message = f"Error: {str(e)}"return None, None, None,Noneinfo_html = f'''<!DOCTYPE html><html>7 unmodified lines</body></html>'''image_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")info_html=gr.HTML(label="Tripadvisor website")70 unmodified lines717273747576777 unmodified lines8586878889909170 unmodified linesexcept Exception as e:error_message = f"Error: {str(e)}"return None, None, None,None"""info_html = f'''<!DOCTYPE html><html>7 unmodified lines</body></html>'''"""image_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")info_html=gr.HTML(label="Tripadvisor website")
app.py+2-2