Spaces:
Running
Running
Gopala Krishna
commited on
Commit
·
2cd8a15
1
Parent(s):
8caeffa
.vs/MyChatGPTDavinci/FileContentIndex/{462a45ab-de25-4e52-b5bf-b87cbf6c83fb.vsidx → c87bffe8-b6f0-4d51-9ae6-38922a3dcdaa.vsidx}
RENAMED
File without changes
|
.vs/MyChatGPTDavinci/v17/.wsuo
CHANGED
Binary files a/.vs/MyChatGPTDavinci/v17/.wsuo and b/.vs/MyChatGPTDavinci/v17/.wsuo differ
|
|
.vs/slnx.sqlite
CHANGED
Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ
|
|
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
openai.api_key = "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"
|
6 |
|
7 |
messages = [
|
8 |
-
{"role": "system", "content": "
|
9 |
]
|
10 |
|
11 |
def chatbot(input):
|
@@ -22,5 +22,5 @@ def chatbot(input):
|
|
22 |
inputs = gr.inputs.Textbox(lines=7, label="Query")
|
23 |
outputs = gr.outputs.Textbox(label="Response")
|
24 |
|
25 |
-
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs,
|
26 |
theme="compact").launch()
|
|
|
5 |
openai.api_key = "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"
|
6 |
|
7 |
messages = [
|
8 |
+
{"role": "system", "content": ""},
|
9 |
]
|
10 |
|
11 |
def chatbot(input):
|
|
|
22 |
inputs = gr.inputs.Textbox(lines=7, label="Query")
|
23 |
outputs = gr.outputs.Textbox(label="Response")
|
24 |
|
25 |
+
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs,
|
26 |
theme="compact").launch()
|