Yaron Koresh commited on
Commit
cbed2ab
·
verified ·
1 Parent(s): 0a810bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def generate_random_string(length):
61
  characters = string.ascii_letters + string.digits
62
  return ''.join(random.choice(characters) for _ in range(length))
63
 
64
- @spaces.GPU(duration=10)
65
  def infer(prompt):
66
  name = generate_random_string(12)+".png"
67
  english_prompt = "Generate the most true and authentic and real and genuine single photograph, for " + translate(prompt,"en")
 
61
  characters = string.ascii_letters + string.digits
62
  return ''.join(random.choice(characters) for _ in range(length))
63
 
64
+ @spaces.GPU(duration=20)
65
  def infer(prompt):
66
  name = generate_random_string(12)+".png"
67
  english_prompt = "Generate the most true and authentic and real and genuine single photograph, for " + translate(prompt,"en")