Spaces:
Runtime error
Runtime error
Update app.py
Browse files65 unmodified lines6667686969707172737374757611 unmodified lines888990919192939465 unmodified lines result_str = f" {model_name} : {class_name} {probability}% " history.append(result_str) links = links_info(class_name) return class_name ,model_name , prediction , links return class_name , prediction , history[-3:-1] except Exception as e: error_message = f"Error: {str(e)}" return None, None, None,None return None, None, None""" info_html = f''' <!DOCTYPE html>11 unmodified lines"""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")#info_html=gr.HTML(label="Tripadvisor website")result_textbox = gr.Textbox("Results", label="history Results")
iface = gr.Interface(app.py+3-3