Spaces:
Running
Running
Commit
•
77dfb9a
1
Parent(s):
b501c75
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +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 |
-
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)
|
|
|
36 |
prompt = gr.Textbox(label="Prompt")
|
37 |
output = gr.Textbox(label="Output Box")
|
38 |
greet_btn = gr.Button("Generate")
|
39 |
+
examples = gr.Examples(examples=[[prompt = 'Please write about Shakuntala Devi'], [prompt = '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)
|