Spaces:
Runtime error
Runtime error
Update app.py
Browse files67 unmodified lines68697071717273747512 unmodified lines888990919293941 unmodified line969798979910010110267 unmodified lines error_message = f"Error: {str(e)}" return None, None, None info = f''' info = f''' <!DOCTYPE html> <html> <head>12 unmodified lines
image_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 line inputs=[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")], info_html, gr.Label(value="Probability"), result_textbox], app.py+4-2