John6666 commited on
Commit
51fc62c
1 Parent(s): 70a58fa

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +4 -0
  2. requirements.txt +1 -0
app.py CHANGED
@@ -2,6 +2,10 @@ import spaces
2
  import gradio as gr
3
  import numpy as np
4
 
 
 
 
 
5
  # DiffuseCraft
6
  from dc import (infer, _infer, pass_result, get_diffusers_model_list, get_samplers,
7
  get_vaes, enable_model_recom_prompt, enable_diffusers_model_detail,
 
2
  import gradio as gr
3
  import numpy as np
4
 
5
+ @spaces.GPU
6
+ def dummy():
7
+ pass
8
+
9
  # DiffuseCraft
10
  from dc import (infer, _infer, pass_result, get_diffusers_model_list, get_samplers,
11
  get_vaes, enable_model_recom_prompt, enable_diffusers_model_detail,
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  accelerate
2
  diffusers
3
  invisible_watermark
 
1
+ spaces
2
  accelerate
3
  diffusers
4
  invisible_watermark