Spaces:
Runtime error
Runtime error
Update app.py
Browse files53 unmodified lines5455565758596053 unmodified linesresult_str = f"{model_name}: {class_name} {probability}%"history.append(result_str)links = links_info(class_name)return class_name, model_name, probability, linksexcept Exception as e:error_message = f"Error: {str(e)}"53 unmodified lines545556575859606153 unmodified linesresult_str = f"{model_name}: {class_name} {probability}%"history.append(result_str)links = links_info(class_name)link_html = f'<a href="{links}" target="_blank">{class_name} on TripAdvisor</a>'return class_name, model_name, probability, link_htmlexcept Exception as e:error_message = f"Error: {str(e)}"
app.py+2-1