Omnibus commited on
Commit
42a4c31
1 Parent(s): 182756c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import diff
3
  import os
4
  from PIL import Image
5
  import uuid
 
6
  sky = "https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png"
7
  platform = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/platform.png'
8
  star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star.png'
@@ -29,7 +30,9 @@ def update_game(inp):
29
  return game_fn(sky=sky)
30
 
31
  def dif_fn(inp):
32
- inp+=" "
 
 
33
  #dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
34
  #dif = models[0]
35
  uid=uuid.uuid4()
 
3
  import os
4
  from PIL import Image
5
  import uuid
6
+ import random
7
  sky = "https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png"
8
  platform = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/platform.png'
9
  star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star.png'
 
30
  return game_fn(sky=sky)
31
 
32
  def dif_fn(inp):
33
+ rand = random.randint(1,200)
34
+ for i in rand:
35
+ inp+=" "
36
  #dif = gr.Interface.load("models/stabilityai/stable-diffusion-2-1-base", live=True),
37
  #dif = models[0]
38
  uid=uuid.uuid4()