Spaces:
Runtime error
Runtime error
Update app.py
Browse files43 unmodified lines44454647474849503 unmodified lines545556575758596043 unmodified lines probability = round(max(predictions[0]) * 100, 2) result_str = f" {model_name} : {probability}% , " result_str = f" {model_name} : {class_name} {probability}% , " history.append(result_str) return class_name, probability, history 3 unmodified lines
image_input = gr.Image(type='filepath', label="Input Imageimage_input = gr.Image(type='filepath', label="Input Image")history=[]model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")result_label = gr.Textbox(value="Exported Result")app.py+2-2