ZennethKenneth commited on
Commit
d4bed37
1 Parent(s): 4f2e42d

add support for public link

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,7 +42,7 @@ def respond(
42
  """
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
- demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
  gr.Textbox(
@@ -75,4 +75,4 @@ demo = gr.ChatInterface(
75
 
76
 
77
  if __name__ == "__main__":
78
- demo.launch()
 
42
  """
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
+ athena = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
  gr.Textbox(
 
75
 
76
 
77
  if __name__ == "__main__":
78
+ athena.launch(share=True)