Spaces:
Paused
Paused
Update app.py
Browse files80 unmodified lines81828384858680 unmodified lineswith gr.Blocks(fill_height=True) as demo:gr.Markdown("## IDEFICS3-Llama 🐶")gr.Markdown("Play with [HuggingFaceM4/Idefics3-8B-Llama3](https://huggingface.co/HuggingFaceM4/Idefics3-8B-Llama3) in this demo. To get started, upload an image and text or try one of the examples.")with gr.Column():image_input = gr.Image(label="Upload your Image", type="pil")query_input = gr.Textbox(label="Prompt")80 unmodified lines8182838485868780 unmodified lineswith gr.Blocks(fill_height=True) as demo:gr.Markdown("## IDEFICS3-Llama 🐶")gr.Markdown("Play with [HuggingFaceM4/Idefics3-8B-Llama3](https://huggingface.co/HuggingFaceM4/Idefics3-8B-Llama3) in this demo. To get started, upload an image and text or try one of the examples.")gr.Markdown("**Disclaimer:** Idefics3 does not include an RLHF alignment stage, so it may not consistently follow prompts or handle complex tasks. However, this doesn't mean it is incapable of doing so. Adding a prefix to the assistant's response, such as Let's think step for a reasoning question or <html> for HTML code generation, can significantly improve the output in practice. You could also play with the parameters such as the temperature in non-greedy mode.")with gr.Column():image_input = gr.Image(label="Upload your Image", type="pil")query_input = gr.Textbox(label="Prompt")
app.py+1