Spaces:
Running
on
Zero
Running
on
Zero
Upload 2 files
Browse files- app.py +4 -0
- 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
|