Khanmx99 commited on
Commit
0fe93d2
·
verified ·
1 Parent(s): cebd780

Deploy Pak Angels AI Tutor

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -246,7 +246,8 @@ def build_app() -> gr.Blocks:
246
  label="Pak Angels AI Tutor",
247
  type="messages",
248
  height=520,
249
- show_copy_button=True,
 
250
  )
251
  message_box = gr.Textbox(
252
  label="Ask Pak Angels AI Tutor",
@@ -289,4 +290,4 @@ demo = build_app()
289
 
290
 
291
  if __name__ == "__main__":
292
- demo.queue().launch()
 
246
  label="Pak Angels AI Tutor",
247
  type="messages",
248
  height=520,
249
+ buttons=["copy"],
250
+ allow_tags=False,
251
  )
252
  message_box = gr.Textbox(
253
  label="Ask Pak Angels AI Tutor",
 
290
 
291
 
292
  if __name__ == "__main__":
293
+ demo.queue().launch(server_name="0.0.0.0", server_port=7860, ssr_mode=False)