codeblacks commited on
Commit
123b2fc
·
verified ·
1 Parent(s): 868916f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ async def respond(
29
 
30
  response = ""
31
 
32
- async for message in client.chat_completion(
33
  messages,
34
  max_tokens=max_tokens,
35
  stream=True,
@@ -63,4 +63,4 @@ demo = gr.ChatInterface(
63
 
64
 
65
  if __name__ == "__main__":
66
- demo.queue().launch()
 
29
 
30
  response = ""
31
 
32
+ for message in client.chat_completion(
33
  messages,
34
  max_tokens=max_tokens,
35
  stream=True,
 
63
 
64
 
65
  if __name__ == "__main__":
66
+ demo.queue().launch(share=True) # Added `share=True` for a public link