Spaces:
Runtime error
Runtime error
Add application file
Browse files- app.py +1 -3
- requirements.txt +2 -1
app.py
CHANGED
@@ -14,6 +14,4 @@ gradio_app = gr.Interface(
|
|
14 |
inputs=gr.Image(label="Select hot dog candidate", sources=['upload', 'webcam'], type="pil"),
|
15 |
outputs=[gr.Image(label="Processed Image"), gr.Label(label="Result", num_top_classes=2)],
|
16 |
title="Hot Dog? Or Not?",
|
17 |
-
)
|
18 |
-
if __name__ == "__main__":
|
19 |
-
gradio_app.launch()
|
|
|
14 |
inputs=gr.Image(label="Select hot dog candidate", sources=['upload', 'webcam'], type="pil"),
|
15 |
outputs=[gr.Image(label="Processed Image"), gr.Label(label="Result", num_top_classes=2)],
|
16 |
title="Hot Dog? Or Not?",
|
17 |
+
).launch()
|
|
|
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
huggingface_hub==0.22.2
|
2 |
transformers
|
3 |
-
torch
|
|
|
|
1 |
huggingface_hub==0.22.2
|
2 |
transformers
|
3 |
+
torch
|
4 |
+
ZeroGPU
|