RashiAgarwal commited on
Commit
b501c75
1 Parent(s): df8d026

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ with gr.Blocks() as demo:
36
  prompt = gr.Textbox(label="Prompt")
37
  output = gr.Textbox(label="Output Box")
38
  greet_btn = gr.Button("Generate")
 
39
  greet_btn.click(fn=inference, inputs=prompt, outputs=output)
40
 
41
  demo.launch(debug=True)
 
36
  prompt = gr.Textbox(label="Prompt")
37
  output = gr.Textbox(label="Output Box")
38
  greet_btn = gr.Button("Generate")
39
+ examples = gr.Examples(examples=[['Please write about Shakuntala Devi'], ['Write a brief note on Indiana Jones']], cache_examples=False)
40
  greet_btn.click(fn=inference, inputs=prompt, outputs=output)
41
 
42
  demo.launch(debug=True)