not-lain commited on
Commit
7b6ce24
ยท
1 Parent(s): 2febe7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -16,4 +16,13 @@ def predict(sentence,history) :
16
  conversation = chatbot(conversation)
17
  return conversation.generated_responses[-1]
18
 
19
- gr.ChatInterface(predict).queue().launch()
 
 
 
 
 
 
 
 
 
 
16
  conversation = chatbot(conversation)
17
  return conversation.generated_responses[-1]
18
 
19
+ header = """
20
+ <center>
21
+ <h1> chat with rick and morty </h1>
22
+ <img src="https://huggingface.co/spaces/not-lain/DialoGPT-Medium-Rick_v2/resolve/main/rick.png">
23
+ </center>
24
+ """
25
+ with gr.Blocks() as iface :
26
+ gr.Markdown(header)
27
+ gr.ChatInterface(predict)
28
+ iface.queue().launch()