Spaces:
Running
Running
changed to mistral
Browse files123456736 unmodified lines4445464748from smolagents import CodeAgent, InferenceClientModel, DuckDuckGoSearchTool, WebSearchToolimport gradio as gr# Initialize a model (using Hugging Face Inference API)model = InferenceClientModel("tinyllamma/TinyLlama-1.1B-Chat-v0.3")context_prompt ="""Here is an analysis on how the Trump administration takes decisions:In a context of billion fueled campaigns, leaders circles naturally integrate their major donors interest preservation to their agendas and that’s where the problem starts. The political leader needs a circle of adivisors, a way of getting expertise to the implementation of his agenda but when this agenda is supposed from the start to discreetly look after the interests of his donours rises the convenient solution of recruiting lobby aware advisors and keeping the debate around the decision making restrained to spheres where the unwritten rule of lobby preservation is respected.36 unmodified linesoutputs="text",title="Trumpslator")if __name__ == "main":iface.launch()123456736 unmodified lines4445464748from smolagents import CodeAgent, InferenceClientModel, DuckDuckGoSearchTool, WebSearchToolimport gradio as gr# Initialize a model (using Hugging Face Inference API)model = InferenceClientModel("mistralai/Mistral-Small-3.2-24B-Instruct-2506")context_prompt ="""Here is an analysis on how the Trump administration takes decisions:In a context of billion fueled campaigns, leaders circles naturally integrate their major donors interest preservation to their agendas and that’s where the problem starts. The political leader needs a circle of adivisors, a way of getting expertise to the implementation of his agenda but when this agenda is supposed from the start to discreetly look after the interests of his donours rises the convenient solution of recruiting lobby aware advisors and keeping the debate around the decision making restrained to spheres where the unwritten rule of lobby preservation is respected.36 unmodified linesoutputs="text",title="Trumpslator")iface.launch()
app.py+3-3