Caerii commited on
Commit
e77604c
·
1 Parent(s): 2b2ddcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import os
2
  import openai
3
  import gradio as gr
 
 
 
4
 
5
  # Access the API key from the environment variable
6
  openai.api_key = os.getenv('OPENAI_API_KEY')
@@ -37,7 +40,8 @@ chat_interface = gr.Interface(
37
  ],
38
  outputs=[gr.Textbox(label="OpenAI Response")],
39
  title="OpenAI Chatbot",
40
- description="Talk to a bot powered by OpenAI GPT-3."
 
41
  )
42
 
43
  if __name__ == "__main__":
 
1
  import os
2
  import openai
3
  import gradio as gr
4
+ from monolith_theme import MonolithTheme
5
+
6
+ theme = MonolithTheme()
7
 
8
  # Access the API key from the environment variable
9
  openai.api_key = os.getenv('OPENAI_API_KEY')
 
40
  ],
41
  outputs=[gr.Textbox(label="OpenAI Response")],
42
  title="OpenAI Chatbot",
43
+ description="Talk to a bot powered by OpenAI GPT-3.",
44
+ theme=theme
45
  )
46
 
47
  if __name__ == "__main__":