Yaron Koresh commited on
Commit
8d36c91
·
verified ·
1 Parent(s): 56b27e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def generate_random_string(length):
58
  characters = string.ascii_letters + string.digits
59
  return ''.join(random.choice(characters) for _ in range(length))
60
 
61
- @spaces.GPU(10)
62
  def infer(prompt):
63
  name = generate_random_string(12)+".png"
64
  english_prompt = f'TRUE {translate(prompt,"english").upper()}:'
 
58
  characters = string.ascii_letters + string.digits
59
  return ''.join(random.choice(characters) for _ in range(length))
60
 
61
+ @spaces.GPU
62
  def infer(prompt):
63
  name = generate_random_string(12)+".png"
64
  english_prompt = f'TRUE {translate(prompt,"english").upper()}:'