Tanut commited on
Commit
e9788d0
·
1 Parent(s): 18f7ba3

Test ZeroGPU

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -72,4 +72,5 @@ with gr.Blocks() as demo:
72
  if __name__ == "__main__":
73
  # On Spaces: keep it simple; don’t pass odd kwargs.
74
  # If you see “localhost is not accessible”, add share=True.
75
- demo.queue(max_size=12).launch(share=True)
 
 
72
  if __name__ == "__main__":
73
  # On Spaces: keep it simple; don’t pass odd kwargs.
74
  # If you see “localhost is not accessible”, add share=True.
75
+ demo.queue(max_size=12).launch()
76
+
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  torch==2.2.0
2
  diffusers==0.30.2
3
  accelerate>=0.25.0
@@ -8,4 +9,4 @@ pydantic==2.10.6
8
  huggingface_hub==0.29.3
9
  spaces
10
  qrcode[pil]
11
- opencv-python
 
1
+ numpy==1.26.4
2
  torch==2.2.0
3
  diffusers==0.30.2
4
  accelerate>=0.25.0
 
9
  huggingface_hub==0.29.3
10
  spaces
11
  qrcode[pil]
12
+ opencv-python