import gradio as gr
defpredict(image):
# Load your Hugging Face model here and make a prediction
model = gr.load("models/amjadfqs/finalProject")
return model(image)
interface = gr.Interface(fn=predict, inputs=gr.inputs.Image(), outputs="text")
interface.launch()