Curranj commited on
Commit
4da74af
1 Parent(s): 10c8907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -72,4 +72,7 @@ def predict(message, history):
72
  partial_message = partial_message + chunk['choices'][0]['delta']['content']
73
  yield partial_message
74
 
75
- gr.ChatInterface(predict).queue().launch()
 
 
 
 
72
  partial_message = partial_message + chunk['choices'][0]['delta']['content']
73
  yield partial_message
74
 
75
+ demo = gr.ChatInterface(predict).queue()
76
+
77
+ if __name__ == "__main__":
78
+ demo.launch()