Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| # Load the model | |
| iface = gr.Interface.load("models/meta-llama/Llama-2-13b-chat-hf") | |
| # Define a system prompt | |
| system_prompt = "You are chatting with a helpful AI. Ask me anything." | |
| # Launch the Gradio interface with the defined system prompt | |
| iface.launch(system=system_prompt) | |