alfredplpl commited on
Commit
22e8896
1 Parent(s): c0c6c3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
44
  {"role": "assistant", "content": "Sure! Here are some ways to eat bananas and dragonfruits together: 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey. 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey."},
45
  {"role": "user", "content": "What about solving an 2x + 3 = 7 equation?"},
46
  ]
47
- output = pipe(messages, **generation_args)
48
  upsampled_prompt=output[0]['generated_text']
49
 
50
  if randomize_seed:
 
44
  {"role": "assistant", "content": "Sure! Here are some ways to eat bananas and dragonfruits together: 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey. 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey."},
45
  {"role": "user", "content": "What about solving an 2x + 3 = 7 equation?"},
46
  ]
47
+ output = upsampler(messages, **generation_args)
48
  upsampled_prompt=output[0]['generated_text']
49
 
50
  if randomize_seed: