Sohan2004 commited on
Commit
31e504b
·
verified ·
1 Parent(s): 3952fa8

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py DELETED
@@ -1,12 +0,0 @@
1
- from huggingface_hub import InferenceClient
2
- import gradio as gr
3
-
4
- MODEL_ID = "Sohan2004/StressDetection_V1"
5
- client = InferenceClient(model=MODEL_ID) # add token=... if private
6
-
7
- def predict(img):
8
- # use the correct client method for your task; e.g. image-classification:
9
- out = client.image_classification(img)
10
- return out
11
-
12
- gr.Interface(predict, gr.Image(type="pil"), gr.JSON()).launch()