Spaces:
Running
Running
Gopala Krishna
commited on
Commit
Β·
0f19af3
1
Parent(s):
c693d2c
Changed theme
Browse files- .vs/MyChatGPTTurbo/FileContentIndex/{39dfaaed-a169-4710-808b-3eca0a08799f.vsidx β 5e38009f-aae5-403f-b884-25fe972dd634.vsidx} +0 -0
- .vs/MyChatGPTTurbo/FileContentIndex/f71b78b9-3700-4082-bd84-ce0289ab4d54.vsidx +0 -0
- .vs/MyChatGPTTurbo/v17/.wsuo +0 -0
- .vs/slnx.sqlite +0 -0
- README.md +1 -1
- app.py +2 -2
.vs/MyChatGPTTurbo/FileContentIndex/{39dfaaed-a169-4710-808b-3eca0a08799f.vsidx β 5e38009f-aae5-403f-b884-25fe972dd634.vsidx}
RENAMED
File without changes
|
.vs/MyChatGPTTurbo/FileContentIndex/f71b78b9-3700-4082-bd84-ce0289ab4d54.vsidx
DELETED
Binary file (9.8 kB)
|
|
.vs/MyChatGPTTurbo/v17/.wsuo
CHANGED
Binary files a/.vs/MyChatGPTTurbo/v17/.wsuo and b/.vs/MyChatGPTTurbo/v17/.wsuo differ
|
|
.vs/slnx.sqlite
CHANGED
Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ
|
|
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: red
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.22.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -3,7 +3,7 @@ import openai
|
|
3 |
import gradio as gr
|
4 |
|
5 |
try:
|
6 |
-
openai.api_key = os.environ["
|
7 |
|
8 |
except KeyError:
|
9 |
error_message = "System is at capacity right now.Please try again later"
|
@@ -38,7 +38,7 @@ iface = gr.Interface(
|
|
38 |
fn=chatbot,
|
39 |
inputs=gr.inputs.Textbox(lines=7, label="Query"),
|
40 |
outputs=gr.outputs.Textbox(label="Response"),
|
41 |
-
theme="
|
42 |
|
43 |
|
44 |
iface.launch()
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
try:
|
6 |
+
openai.api_key = os.environ["OPENAI_API_KEY"]
|
7 |
|
8 |
except KeyError:
|
9 |
error_message = "System is at capacity right now.Please try again later"
|
|
|
38 |
fn=chatbot,
|
39 |
inputs=gr.inputs.Textbox(lines=7, label="Query"),
|
40 |
outputs=gr.outputs.Textbox(label="Response"),
|
41 |
+
theme=gr.themes.Default(primary_hue="sky"))
|
42 |
|
43 |
|
44 |
iface.launch()
|