Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +4 -4
- requirements.txt +4 -4
app.py
CHANGED
|
@@ -114,8 +114,8 @@ with gr.Blocks(title="Tiny ViT — ImageNet-1k classifier", theme=gr.themes.Soft
|
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
demo.launch(
|
| 117 |
-
server_name="0.0.0.0",
|
| 118 |
-
server_port=7860,
|
| 119 |
-
show_api=False,
|
| 120 |
-
share=False,
|
| 121 |
)
|
|
|
|
| 114 |
|
| 115 |
if __name__ == "__main__":
|
| 116 |
demo.launch(
|
| 117 |
+
# server_name="0.0.0.0",
|
| 118 |
+
# server_port=7860,
|
| 119 |
+
# show_api=False,
|
| 120 |
+
# share=False,
|
| 121 |
)
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio=
|
| 2 |
-
transformers=
|
| 3 |
-
torch=
|
| 4 |
-
Pillow=
|
|
|
|
| 1 |
+
gradio>=5.0.0
|
| 2 |
+
transformers>=4.44.0
|
| 3 |
+
torch>=2.2.0
|
| 4 |
+
Pillow>=10.0.0
|