Skip to content

How to run or access infinity on hf a space? #161

Description

@ffreemt

Hi. Thanks for the wonderful project.

Is it possible to directly deploy infinity on a hf space?

I guess it's possible to do it via gradio. But all I need is just embeddings. So I wonder whether I can simply run something like infinity_emb --model-name-or-path sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 --port 7860 in a hf space and access the API.

I tried to deply infinity on a hf space https://huggingface.co/spaces/mikeee/emb384. It seems to be running but I cannot figure out how to make a request to the API. There isn't anything at https://huggingface.co/spaces/mikeee/emb384/docs or https://huggingface.co/spaces/mikeee/emb384:7860/docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions