broadfield commited on
Commit
8c89a95
·
1 Parent(s): 3b7f7a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -33,7 +33,11 @@ def generate(prompt,history):
33
  output += response.token.text
34
  yield output
35
 
36
-
 
 
 
 
37
  gr.ChatInterface(
38
  fn=generate,
39
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
 
33
  output += response.token.text
34
  yield output
35
 
36
+ examples=[["Write a heavy metal rock song about horses (1000 words)"],
37
+ ["Write a really long song about an elephant love story. The elephants have been together for a long time. (3000 words)"],
38
+ ["Write a slammin rap song about about a gangster fising trip."],
39
+ ["Add more lyrics to the previous song"],
40
+ ]
41
  gr.ChatInterface(
42
  fn=generate,
43
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),