callmesan commited on
Commit
832b76b
·
1 Parent(s): 0a4c822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,4 +78,5 @@ def predict(message, history):
78
  demo = gr.ChatInterface(predict,
79
  title = f'Sai Literature Question Answering')
80
 
81
- demo.launch(share= True)
 
 
78
  demo = gr.ChatInterface(predict,
79
  title = f'Sai Literature Question Answering')
80
 
81
+ if __name__ == "__main__":
82
+ demo.launch(share=True)