Fixing key
Browse filesFixing key.
Customizing.
app.py
CHANGED
@@ -2,12 +2,12 @@ import os
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
-
openai.api_key = "sk-
|
6 |
|
7 |
start_sequence = "\nAI:"
|
8 |
restart_sequence = "\nHuman: "
|
9 |
|
10 |
-
prompt = "The following is a conversation with
|
11 |
|
12 |
def openai_create(prompt):
|
13 |
|
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
+
openai.api_key = "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"
|
6 |
|
7 |
start_sequence = "\nAI:"
|
8 |
restart_sequence = "\nHuman: "
|
9 |
|
10 |
+
prompt = "The following is a conversation with Amadeus. Kurisu is helpful, creative, clever, and very friendly.\n\nHuman: Hello, who are you?\nMakise Kurisu: I am an AI created by Amadeus. How can I help you today?\nHuman: "
|
11 |
|
12 |
def openai_create(prompt):
|
13 |
|