Spaces:
Runtime error
Runtime error
Update app.py
Browse files60 unmodified lines6162636465666768697067717273747572737660 unmodified lines # Return the predicted class name as a string return f"Predicted class using {model_choice}: {class_name}"
image_input = gr.Image()
# Create a Gradio interface with a dropdown for model selectioniface = gr.Interface( fn=classify_image, inputs=["image", gr.Dropdown(["ResNet", "EfficientNet","VGGNet","InceptionV3"], label="Select Model")], inputs=[image_input, gr.Dropdown(["ResNet", "EfficientNet","VGGNet","InceptionV3"], label="Select Model")], outputs="text", live=True)
# Launch the Gradio interfaceiface.launch(debug=True,share=True).launch(debug=True)app.py+6-3