Spaces:
Runtime error
Runtime error
johnowhitaker
commited on
Commit
•
afcd5e0
1
Parent(s):
4bb51bf
Update app.py
Browse files
app.py
CHANGED
@@ -257,10 +257,10 @@ def generate(text, n_steps):
|
|
257 |
return np.array(im)
|
258 |
|
259 |
iface = gr.Interface(fn=generate,
|
260 |
-
description = "Attempt at a Gradio demo for https://colab.research.google.com/drive/1dBPXIspuMocqfcJqfjCn_PFeUfr36KGu?usp=sharing
|
261 |
inputs=[
|
262 |
gr.inputs.Textbox(label="Text Input"),
|
263 |
-
gr.inputs.Number(default=
|
264 |
],
|
265 |
outputs=[
|
266 |
gr.outputs.Image(type="numpy", label="Output Image")
|
|
|
257 |
return np.array(im)
|
258 |
|
259 |
iface = gr.Interface(fn=generate,
|
260 |
+
description = "Attempt at a Gradio demo for https://colab.research.google.com/drive/1dBPXIspuMocqfcJqfjCn_PFeUfr36KGu?usp=sharing. A little slow on CPU so check out the colab for higher res generation.",
|
261 |
inputs=[
|
262 |
gr.inputs.Textbox(label="Text Input"),
|
263 |
+
gr.inputs.Number(default=64, label="N Steps")
|
264 |
],
|
265 |
outputs=[
|
266 |
gr.outputs.Image(type="numpy", label="Output Image")
|