gojiteji commited on
Commit
c7d4eff
1 Parent(s): 865acf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -88,17 +88,18 @@ def bot(history):
88
  return history
89
 
90
  with gr.Blocks() as demo:
 
91
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=750)
92
 
93
  with gr.Row():
94
  with gr.Column(scale=0.85):
95
  txt = gr.Textbox(
96
  show_label=False,
97
- placeholder="input text and press enter",
98
  ).style(container=False)
99
 
100
  txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
101
  bot, chatbot, chatbot
102
  )
103
 
104
- demo.launch(debug=True,share=True)
 
88
  return history
89
 
90
  with gr.Blocks() as demo:
91
+ gr.Markdown("# ThatGPT")
92
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=750)
93
 
94
  with gr.Row():
95
  with gr.Column(scale=0.85):
96
  txt = gr.Textbox(
97
  show_label=False,
98
+ placeholder="AI always replies with \"that\".",
99
  ).style(container=False)
100
 
101
  txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
102
  bot, chatbot, chatbot
103
  )
104
 
105
+ demo.launch()