Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
akhaliq
/
phi-4
like
3
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
phi-4
/
app.py
akhaliq
HF Staff
Create app.py
111d1fc
verified
over 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
176 Bytes
import
gradio
as
gr
import
ai_gradio
import
spaces
demo = gr.load(
name=
'transformers:phi-4'
,
src=ai_gradio.registry
)
demo.fn = spaces.GPU()(demo.fn)
demo.launch()