Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -162,7 +162,7 @@ def sample_ddim(n_sample, n=20):
|
|
162 |
|
163 |
def greet(input):
|
164 |
samples, intermediate = sample_ddim(32, n=25)
|
165 |
-
response = intermediate
|
166 |
return response
|
167 |
|
168 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
162 |
|
163 |
def greet(input):
|
164 |
samples, intermediate = sample_ddim(32, n=25)
|
165 |
+
response = intermediate[-1][-1][-1];
|
166 |
return response
|
167 |
|
168 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|