update
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def bot(user_message, history):
|
|
112 |
|
113 |
#gr.Chatbot.postprocess = postprocess
|
114 |
|
115 |
-
with open("
|
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(
|
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()
|