d402141 d5b4347
1
2
3
4
5
6
7
import gradio as gr gr.load("models/Qwen/Qwen2.5-7B").launch() model = gr.load("model_path") # Load the model only once at startup def predict(input_data): return model(input_data)