import gradio as gr from huggingface_hub import InferenceClient def test(): print() with gr.Blocks(theme=gr.themes.Soft(primary_hue="teal", secondary_hue="slate", neutral_hue="neutral")) as demo: # Using Soft theme with adjusted hues for a refined look gr.HTML(""" """) gr.ChatInterface(test, multimodal=True, type="messages", textbox=gr.MultimodalTextbox(), editable=True, title="Chat interface test", save_history=True, ) gr.Textbox(label="System instructions",) gr.Slider(label="temperature",) if __name__ == "__main__": demo.launch()