Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 =
|
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:
|