Nikhil0987 commited on
Commit
f83c24c
·
verified ·
1 Parent(s): 9df5acc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -116,16 +116,16 @@ with gr.Blocks() as demo:
116
  fn=add_text,
117
  inputs=[chatbot, txt],
118
  outputs=[chatbot],
119
- queue=False
120
- ).success(
121
- fn=generate_response,
122
- inputs=[chatbot, txt, btn],
123
- outputs=[chatbot, txt]
124
- ).success(
125
- fn=render_file,
126
- inputs=[btn],
127
- outputs=[show_img]
128
- )
129
  demo.queue()
130
  if __name__ == "__main__":
131
  demo.launch()
 
116
  fn=add_text,
117
  inputs=[chatbot, txt],
118
  outputs=[chatbot],
119
+ queue=False)
120
+ # ).success(
121
+ # fn=generate_response,
122
+ # inputs=[chatbot, txt, btn],
123
+ # outputs=[chatbot, txt]
124
+ # ).success(
125
+ # fn=render_file,
126
+ # inputs=[btn],
127
+ # outputs=[show_img]
128
+ # )
129
  demo.queue()
130
  if __name__ == "__main__":
131
  demo.launch()