Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,21 +12,6 @@ def predict(image):
|
|
| 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 |
-
grad.Interface(fn=generate,
|
| 16 |
-
inputs=txt,
|
| 17 |
-
outputs=out,
|
| 18 |
-
examples=examples,
|
| 19 |
-
title=title,
|
| 20 |
-
description=description,
|
| 21 |
-
article='',
|
| 22 |
-
allow_flagging='never',
|
| 23 |
-
cache_examples=False,
|
| 24 |
-
theme="default").launch(enable_queue=True, debug=True)
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
gr.Interface(
|
| 31 |
predict,
|
| 32 |
inputs=gr.inputs.Image(label="Upload hot dog candidate", type="filepath"),
|
|
|
|
| 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"),
|