Spaces:
Runtime error
Runtime error
Update app.py
Browse files42 unmodified lines4344454647484950515253545556575859606142 unmodified linesimage_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")iface = gr.Interface(fn=classify_selected_model,inputs=[image_input, model_dropdown],outputs=[gr.Label(value="Archaeological Site"),gr.Label(value="Probability")],gr.Image(shape=(200, 200)), "Sites/Ajloun.png",gr.Image(shape=(200, 200)), "Sites/Jeresh.png",gr.Image(shape=(200, 200)), "Sites/Umm Qais.png",gr.Image(shape=(200, 200)), "Sites/Petra.png",gr.Image(shape=(200, 200)), "Sites/Wadi Rum.png",gr.Image(shape=(200, 200)), "Sites/Roman Amphitheater.png",live=True,title="Image Classification for Archaeological Sites Interface",42 unmodified lines43444546474849505152535455565742 unmodified linesimage_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")Images= gr.Image(shape=(200, 200)),examples=["Sites/Ajloun.png", "Sites/Jeresh.png", "Sites/Umm Qais.png","Sites/Petra.png", "Sites/Wadi Rum.png", "Sites/Roman Amphitheater.png" ] )iface = gr.Interface(fn=classify_selected_model,inputs=[image_input, model_dropdown ,Images],outputs=[gr.Label(value="Archaeological Site"),gr.Label(value="Probability")],live=True,title="Image Classification for Archaeological Sites Interface",
app.py+4-8