Spaces:
Runtime error
Runtime error
Update app.py
Browse files42 unmodified lines43444546474647484950515254535455565758596042 unmodified lines
image_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")], examples=[ ["Sites/Ajloun.png", "ResNet"], ["Sites/Jeresh.png", "VGGNet"], ["Sites/Umm Qais.png", "EfficientNet"], ["Sites/Petra.png", "InceptionV3"]], live=True, title="Image Classification for Archaeological Sites Interface", app.py+6-3