muhammad1707 commited on
Commit
3cd9baa
·
1 Parent(s): 868a055

added demo to app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -99,7 +99,8 @@ chatbot = gr.ChatInterface(
99
  # with gr.Sidebar():
100
  # gr.LoginButton()
101
  # chatbot.render()
102
-
 
103
 
104
  if __name__ == "__main__":
105
  demo.launch()
 
99
  # with gr.Sidebar():
100
  # gr.LoginButton()
101
  # chatbot.render()
102
+ with gr.Blocks() as demo:
103
+ chatbot.render()
104
 
105
  if __name__ == "__main__":
106
  demo.launch()