Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from sentence_transformers import SentenceTransformer, util
|
3 |
-
import openai
|
4 |
import os
|
5 |
|
6 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
@@ -171,7 +171,7 @@ theme = gr.themes.Monochrome(
|
|
171 |
border_color_primary='*secondary_300',
|
172 |
block_border_color='*secondary_200',
|
173 |
button_primary_background_fill='*secondary_300',
|
174 |
-
button_primary_background_fill_dark='*secondary_300'
|
175 |
|
176 |
# Setup the Gradio Blocks interface with custom layout components
|
177 |
with gr.Blocks(theme=theme) as demo:
|
|
|
1 |
import gradio as gr
|
2 |
from sentence_transformers import SentenceTransformer, util
|
3 |
+
import openai
|
4 |
import os
|
5 |
|
6 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
|
171 |
border_color_primary='*secondary_300',
|
172 |
block_border_color='*secondary_200',
|
173 |
button_primary_background_fill='*secondary_300',
|
174 |
+
button_primary_background_fill_dark='*secondary_300')
|
175 |
|
176 |
# Setup the Gradio Blocks interface with custom layout components
|
177 |
with gr.Blocks(theme=theme) as demo:
|