reactivating
Browse filesRe-activating key
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
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: "
|
@@ -36,7 +36,7 @@ def chatgpt_clone(input, history):
|
|
36 |
block = gr.Blocks()
|
37 |
|
38 |
with block:
|
39 |
-
gr.Markdown("""<H1><center>
|
40 |
</center></H1>""")
|
41 |
chatbot = gr.Chatbot()
|
42 |
message = gr.Textbox(placeholder=prompt)
|
|
|
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: "
|
|
|
36 |
block = gr.Blocks()
|
37 |
|
38 |
with block:
|
39 |
+
gr.Markdown("""<H1><center>Hi, I'm Makise Kurisu. Powered by Amadeus.
|
40 |
</center></H1>""")
|
41 |
chatbot = gr.Chatbot()
|
42 |
message = gr.Textbox(placeholder=prompt)
|