Spaces:
Runtime error
Runtime error
Download app.py from empirenexus/transformers-test: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/empirenexus/transformers-test/resolve/main/app.py
- Command line
-
hf download hf://spaces/empirenexus/transformers-test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/empirenexus/transformers-test/resolve/main/app.py
256 Bytes
| import gradio as gr | |
| from sentence_transformers import SentenceTransformer | |
| def test(): | |
| model = SentenceTransformer("all-MiniLM-L6-v2") | |
| return "✅ sentence-transformers loaded successfully" | |
| gr.Interface(fn=test, inputs=[], outputs="text").launch() |