valhalla commited on
Commit
581138f
1 Parent(s): b9093ab
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -168,7 +168,7 @@ def sample(prompt):
168
 
169
  # Show the output
170
  image = get_images(up_samples)
171
- image = to_base64(image)
172
  # return {"image": image}
173
  return image
174
 
@@ -184,7 +184,7 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.102
184
  examples =["Eiffel tower"]
185
 
186
  iface = gr.Interface(fn=sample,
187
- inputs=gr.inputs.Image(type="text"),
188
  outputs=gr.outputs.Image(type="pil", label="Model input + completions"),
189
  title=title,
190
  description=description,
168
 
169
  # Show the output
170
  image = get_images(up_samples)
171
+ # image = to_base64(image)
172
  # return {"image": image}
173
  return image
174
 
184
  examples =["Eiffel tower"]
185
 
186
  iface = gr.Interface(fn=sample,
187
+ inputs=gr.inputs.Textbox(label='What would you like to see?'),
188
  outputs=gr.outputs.Image(type="pil", label="Model input + completions"),
189
  title=title,
190
  description=description,