Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def generate(prompt='', num_samples=10, steps=20, do_sample=True):
|
|
41 |
|
42 |
|
43 |
def infer(input):
|
44 |
-
|
45 |
|
46 |
import gradio as gr
|
47 |
|
|
|
41 |
|
42 |
|
43 |
def infer(input):
|
44 |
+
return generate(prompt=input, num_samples=3, steps=20)
|
45 |
|
46 |
import gradio as gr
|
47 |
|