Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,12 @@ def bot(query):
|
|
50 |
llm_response = llmchain.run({"query": query})
|
51 |
return llm_response
|
52 |
|
|
|
|
|
|
|
|
|
53 |
|
54 |
-
with gr.Blocks(title='Sunny', css="footer {visibility: hidden}") as main:
|
55 |
gr.Markdown("# Sunny Chatbot")
|
56 |
chatbot = gr.Chatbot([], elem_id="chatbot", height=700)
|
57 |
msg = gr.Textbox()
|
|
|
50 |
llm_response = llmchain.run({"query": query})
|
51 |
return llm_response
|
52 |
|
53 |
+
head = f"""
|
54 |
+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2769307761697918"
|
55 |
+
crossorigin="anonymous"></script>
|
56 |
+
"""
|
57 |
|
58 |
+
with gr.Blocks(head=head, title='Sunny', css="footer {visibility: hidden}") as main:
|
59 |
gr.Markdown("# Sunny Chatbot")
|
60 |
chatbot = gr.Chatbot([], elem_id="chatbot", height=700)
|
61 |
msg = gr.Textbox()
|