Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def predict(image):
|
4 |
+
# Load your Hugging Face model here and make a prediction
|
5 |
+
model = gr.load("models/amjadfqs/finalProject")
|
6 |
+
return model(image)
|
7 |
+
|
8 |
+
interface = gr.Interface(fn=predict, inputs=gr.inputs.Image(), outputs="text")
|
9 |
+
interface.launch()
|