Teotonix commited on
Commit
0ebee1b
·
verified ·
1 Parent(s): e547b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -102,5 +102,19 @@ with gr.Blocks(
102
  inputs=prompt,
103
  outputs=img
104
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
 
106
  app.launch()
 
102
  inputs=prompt,
103
  outputs=img
104
  )
105
+ with gr.Blocks(title="Maind AI") as demo:
106
+ gr.Markdown(
107
+ """
108
+ <div style="text-align:center">
109
+ <img src="logo.png" width="120">
110
+ <h2>Maind AI</h2>
111
+ </div>
112
+ """
113
+ )
114
+
115
+ chatbot = gr.Chatbot()
116
+ msg = gr.Textbox()
117
+ msg.submit(fn=chat, inputs=msg, outputs=chatbot)
118
+
119
 
120
  app.launch()