mvaloatto commited on
Commit
2e9f916
1 Parent(s): 2246af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,13 +9,13 @@ def predict(image):
9
  predictions = pipeline(image)
10
  return {p["label"]: p["score"] for p in predictions}
11
 
12
- title = "<br>Hot dog or not?<br>"
13
- description = 'This is a demo of the hotdog-not-hotdog model by julien-c.<br><br>'
14
 
15
  gr.Interface(
16
  predict,
17
  inputs=gr.inputs.Image(label="Upload hot dog candidate", type="filepath"),
18
  outputs=gr.outputs.Label(num_top_classes=2),
19
- title="Hot Dog? Or Not?",
 
20
  css=".gradio-container {background-image: url('file=BG.png')}"
21
  ).launch()
 
9
  predictions = pipeline(image)
10
  return {p["label"]: p["score"] for p in predictions}
11
 
12
+
 
13
 
14
  gr.Interface(
15
  predict,
16
  inputs=gr.inputs.Image(label="Upload hot dog candidate", type="filepath"),
17
  outputs=gr.outputs.Label(num_top_classes=2),
18
+ title = "<br>Hot dog or not?<br>"
19
+ description = 'This is a demo of the hotdog-not-hotdog model by julien-c.<br><br>',
20
  css=".gradio-container {background-image: url('file=BG.png')}"
21
  ).launch()