cyberandy commited on
Commit
44be91e
1 Parent(s): 4d3ea94
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,7 +112,7 @@ def bot(user_message, history):
112
 
113
  #gr.Chatbot.postprocess = postprocess
114
 
115
- with open("/Users/cyberandy/Documents/GitHub/langchain-wl-chat/wl-chat/assets/custom.css", "r", encoding="utf-8") as f:
116
  customCSS = f.read()
117
 
118
  with gr.Blocks(css=customCSS, theme=wordlift_theme) as demo:
@@ -128,7 +128,7 @@ with gr.Blocks(css=customCSS, theme=wordlift_theme) as demo:
128
  #demo = gr.Interface(fn=bot, inputs=msg, outputs=chatbot, theme="dark", title="WL-Chat", description="A chatbot to interact with WordLift's blog.")
129
 
130
  demo.queue()
131
- demo.launch(share=True, inline=True)
132
 
133
  if __name__ == "__main__":
134
  main()
 
112
 
113
  #gr.Chatbot.postprocess = postprocess
114
 
115
+ with open("assets/custom.css", "r", encoding="utf-8") as f:
116
  customCSS = f.read()
117
 
118
  with gr.Blocks(css=customCSS, theme=wordlift_theme) as demo:
 
128
  #demo = gr.Interface(fn=bot, inputs=msg, outputs=chatbot, theme="dark", title="WL-Chat", description="A chatbot to interact with WordLift's blog.")
129
 
130
  demo.queue()
131
+ demo.launch(inline=True)
132
 
133
  if __name__ == "__main__":
134
  main()