finalProject2 / app.py
amjadfqs's picture
Update app.py
f907852 verified
raw
history blame
268 Bytes
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)
interface = gr.Interface(fn=predict, inputs="image", outputs="text")
interface.launch()