Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Jagad1234unique
/
Q
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f5413de
Q
/
app.py
Jagad1234unique
Update app.py
f5413de
verified
4 months ago
raw
Copy download link
history
blame
Safe
188 Bytes
import
gradio
as
gr
gr.load(
"models/Qwen/Qwen2.5-72B"
).launch()
model = gr.load(
"model_path"
)
# Load the model only once at startup
def
predict
(
input_data
):
return
model(input_data)