Spaces:
Runtime error
Runtime error
Update app.py
Browse files67 unmodified lines6869707172737412 unmodified lines8788899091921 unmodified line94959697989910067 unmodified lineserror_message = f"Error: {str(e)}"return None, None, Noneinfo = f'''<!DOCTYPE html><html><head>12 unmodified linesimage_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")result_textbox = gr.Textbox("Results", label="history Results")iface = gr.Interface(1 unmodified lineinputs=[image_input, model_dropdown ,gr.Text(["Ajloun","Jeresh","Umm Qais","Petra","Roman Amphitheater","Wadi Rum"]],outputs=[gr.Label(value="Archaeological Site"),gr.HTML(type='html', label="Useful Links")],gr.Label(value="Probability"),result_textbox],67 unmodified lines686970717273747512 unmodified lines888990919293941 unmodified line9697989910010110267 unmodified lineserror_message = f"Error: {str(e)}"return None, None, Noneinfo =f'''<!DOCTYPE html><html><head>12 unmodified linesimage_input = gr.Image(type='filepath', label="Input Image")model_dropdown = gr.Dropdown(["ResNet", "EfficientNet", "VGGNet", "InceptionV3"], label="Select Model")info_html=gr.HTML(type='html', label="Useful Links")result_textbox = gr.Textbox("Results", label="history Results")iface = gr.Interface(1 unmodified lineinputs=[image_input, model_dropdown ,gr.Text(["Ajloun","Jeresh","Umm Qais","Petra","Roman Amphitheater","Wadi Rum"]],outputs=[gr.Label(value="Archaeological Site"),info_html,gr.Label(value="Probability"),result_textbox],
app.py+4-2