Downloads · 30 days
27
9% of all-time downloads
briaai/FIBO-gemini-prompt-to-JSON
FIBO-gemini-prompt-to-JSON is a machine learning model from briaai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-4.0.
Downloads · 30 days
27
9% of all-time downloads
All-time downloads
297
Public
Repo size
—
Likes
8
Public
Click a slice to open those files.
.py37.7 KB · 93%
From the Hugging Face model README
BriaFibo Gemini Prompt to JSON
This is a modular pipeline block that converts a Gemini prompt to a JSON object.
from diffusers.modular_pipelines import ModularPipelineBlocks
pipeline = ModularPipelineBlocks.from_pretrained("briaai/FIBO-gemini-prompt-to-JSON", trust_remote_code=True)
pipeline = pipeline.init_pipeline()
output = pipeline(prompt="A beautiful sunset over a calm ocean")
print(output)
prompt: A string prompt to convert to a JSON object.json_prompt: A JSON object representing the prompt.