Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import openai
|
| 2 |
-
import gradio as gr
|
| 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()
|