Spaces:
Sleeping
Sleeping
File size: 316 Bytes
c46c672 3edf187 e36a241 60c94e7 3edf187 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
def predict(image):
# Load your Hugging Face model here and make a prediction
model = gr.load("models/amjadfqs/finalProject")
return model(image)
image_cp = gr.Image(type="pil", label='Brain')
interface = gr.Interface(fn=predict, inputs=image_cp, outputs="text")
interface.launch()
|