pakooo commited on
Commit
8fc2fcc
·
1 Parent(s): a406927

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import openai
2
- import gradio as gr with gr.Blocks(theme=gr.themes.Soft())
3
 
4
  openai.api_key = "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"
5
 
@@ -16,4 +16,5 @@ def CustomChatGPT(user_input):
16
  return ChatGPT_reply
17
 
18
  iface = gr.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "ArbiChatBot - Chat Bot on Arbitrum")
 
19
  iface.launch()
 
1
  import openai
2
+ import gradio as gr
3
 
4
  openai.api_key = "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"
5
 
 
16
  return ChatGPT_reply
17
 
18
  iface = gr.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "ArbiChatBot - Chat Bot on Arbitrum")
19
+ with gr.Blocks(theme=gr.themes.Soft())
20
  iface.launch()