Gopala Krishna commited on
Commit
01be1e5
·
1 Parent(s): 78bfd66

initial commit

Browse files
.vs/ContentModeration/FileContentIndex/2f12fa69-b91c-468f-8ee6-4c1e8ba01590.vsidx ADDED
Binary file (5.43 kB). View file
 
.vs/ContentModeration/FileContentIndex/e0ba73d5-fdde-4eb1-b7a7-c0d7bf514d15.vsidx ADDED
Binary file (272 Bytes). View file
 
.vs/ContentModeration/v17/.wsuo CHANGED
Binary files a/.vs/ContentModeration/v17/.wsuo and b/.vs/ContentModeration/v17/.wsuo differ
 
.vs/slnx.sqlite CHANGED
Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ
 
app.py CHANGED
@@ -3,7 +3,9 @@ import openai
3
  import gradio as gr
4
 
5
  try:
6
- openai.api_key = os.environ["OPENAPI_API_KEY"]
 
 
7
  except KeyError:
8
  error_message = "System is at capacity right now.Please try again later"
9
  print(error_message)
@@ -30,3 +32,4 @@ outputs = gr.outputs.Textbox(label="Response")
30
 
31
  gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="",
32
  theme="compact").launch()
 
 
3
  import gradio as gr
4
 
5
  try:
6
+ #.api_key = os.environ["OPENAPI_API_KEY"]
7
+ openai.api_key = "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"
8
+
9
  except KeyError:
10
  error_message = "System is at capacity right now.Please try again later"
11
  print(error_message)
 
32
 
33
  gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="",
34
  theme="compact").launch()
35
+