akhaliq HF staff commited on
Commit
111d1fc
·
verified ·
1 Parent(s): f2c6b23

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import ai_gradio
3
+ import spaces
4
+
5
+
6
+ demo = gr.load(
7
+ name='transformers:phi-4',
8
+ src=ai_gradio.registry
9
+ )
10
+
11
+ demo.fn = spaces.GPU()(demo.fn)
12
+
13
+ demo.launch()