cryptocalypse
commited on
Commit
•
717a70b
1
Parent(s):
1e2c6dd
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def respond(
|
|
108 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
109 |
"""
|
110 |
|
111 |
-
with gr.Blocks(title="
|
112 |
gr.Dropdown(
|
113 |
["Spain Journals", "Usa journals", "England journals","Technology","Religion"], value=["Spain Journals", "Usa journals", "England journals","Technology","Religion"], multiselect=True, label="Source Databases", info="Selecting Tag sources Holmesbot AI uses that to generate news, with priority of Google Trends and X trending topics"
|
114 |
)
|
@@ -133,7 +133,7 @@ with gr.Blocks(title="Holmes pubication manager") as app:
|
|
133 |
gr.load("models/stabilityai/stable-diffusion-xl-base-1.0")
|
134 |
with gr.Tab("Chat"):
|
135 |
|
136 |
-
|
137 |
respond,
|
138 |
additional_inputs=[
|
139 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
|
|
108 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
109 |
"""
|
110 |
|
111 |
+
with gr.Blocks(title="NWO BOT") as app:
|
112 |
gr.Dropdown(
|
113 |
["Spain Journals", "Usa journals", "England journals","Technology","Religion"], value=["Spain Journals", "Usa journals", "England journals","Technology","Religion"], multiselect=True, label="Source Databases", info="Selecting Tag sources Holmesbot AI uses that to generate news, with priority of Google Trends and X trending topics"
|
114 |
)
|
|
|
133 |
gr.load("models/stabilityai/stable-diffusion-xl-base-1.0")
|
134 |
with gr.Tab("Chat"):
|
135 |
|
136 |
+
gr.ChatInterface(
|
137 |
respond,
|
138 |
additional_inputs=[
|
139 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|