Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import openai
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
openai.api_key = "sk-
|
| 5 |
messages = [
|
| 6 |
{"role": "system", "content": "You are a helpful and kind AI Assistant for content and blog writing"},
|
| 7 |
]
|
|
@@ -28,3 +28,11 @@ outputs = gr.outputs.Textbox(label="Reply")
|
|
| 28 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Lisa's AI Chatbot",
|
| 29 |
description="Ask anything you want",
|
| 30 |
theme="compact").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import openai
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
openai.api_key = "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"
|
| 5 |
messages = [
|
| 6 |
{"role": "system", "content": "You are a helpful and kind AI Assistant for content and blog writing"},
|
| 7 |
]
|
|
|
|
| 28 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Lisa's AI Chatbot",
|
| 29 |
description="Ask anything you want",
|
| 30 |
theme="compact").launch()
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|