Spaces:
Sleeping
Sleeping
added theme
Browse files
app.py
CHANGED
@@ -44,9 +44,13 @@ embeddings = OpenAIEmbeddings(
|
|
44 |
#get the db index
|
45 |
db = Pinecone.from_existing_index(index_name=index_n, embedding=embeddings)
|
46 |
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
-
with gr.Blocks() as demo:
|
50 |
chatbot = gr.Chatbot(label="Talk to the Bot")
|
51 |
msg = gr.Textbox()
|
52 |
clear = gr.Button("Clear")
|
|
|
44 |
#get the db index
|
45 |
db = Pinecone.from_existing_index(index_name=index_n, embedding=embeddings)
|
46 |
|
47 |
+
theme = gr.themes.Soft(
|
48 |
+
primary_hue="emerald",
|
49 |
+
).set(
|
50 |
+
block_background_fill='black'
|
51 |
|
52 |
|
53 |
+
with gr.Blocks(theme=theme) as demo:
|
54 |
chatbot = gr.Chatbot(label="Talk to the Bot")
|
55 |
msg = gr.Textbox()
|
56 |
clear = gr.Button("Clear")
|