harshSethi commited on
Commit
55143ad
·
verified ·
1 Parent(s): 2eea8a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -53,7 +53,7 @@ def predict(message,history):
53
 
54
  pprint(f"[tokens = {chunkCount}] {message}")
55
 
56
- with gr.ChatInterface(
57
  predict,
58
  title = "blockchain teacher",
59
  theme = gr.themes.Soft(),
@@ -63,6 +63,6 @@ with gr.ChatInterface(
63
  scale = 7,
64
  max_lines = 2,
65
  ),
66
- ) as demo
67
 
68
- demo.launch()
 
53
 
54
  pprint(f"[tokens = {chunkCount}] {message}")
55
 
56
+ demo = gr.ChatInterface(
57
  predict,
58
  title = "blockchain teacher",
59
  theme = gr.themes.Soft(),
 
63
  scale = 7,
64
  max_lines = 2,
65
  ),
66
+ )
67
 
68
+ demo.launch(share = True)