vs4vijay commited on
Commit
a5a374c
·
1 Parent(s): 492108f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -54,7 +54,11 @@ def main():
54
  def greet(prompt):
55
  return pipeline(prompt, max_length=50, num_return_sequences=3)
56
 
57
- ui = gr.Interface(fn=greet, inputs="text", outputs="text")
 
 
 
 
58
  ui.launch()
59
 
60
  pipeline = get_stable_diffusion_v15_pipeline()
 
54
  def greet(prompt):
55
  return pipeline(prompt, max_length=50, num_return_sequences=3)
56
 
57
+ ui = gr.Interface(
58
+ fn=greet,
59
+ inputs=gr.Textbox(lines=2, placeholder="Enter some text here..."),
60
+ outputs="text"
61
+ )
62
  ui.launch()
63
 
64
  pipeline = get_stable_diffusion_v15_pipeline()