seawolf2357 commited on
Commit
cb387d0
1 Parent(s): ebe4ab3

initial commit

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -4,9 +4,7 @@ import openai
4
 
5
  def Question(Ask_Question):
6
  # pass the generated text to audio
7
- openai.api_key = keys
8
-
9
- gr.Textbox(lines=1, max_lines=50, keys = "text")
10
 
11
  # Set up the model and prompt
12
  model_engine = "text-davinci-003"
@@ -29,3 +27,4 @@ demo = gr.Interface(
29
  inputs="text", outputs="text")
30
 
31
  demo.launch()
 
 
4
 
5
  def Question(Ask_Question):
6
  # pass the generated text to audio
7
+ openai.api_key = "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"
 
 
8
 
9
  # Set up the model and prompt
10
  model_engine = "text-davinci-003"
 
27
  inputs="text", outputs="text")
28
 
29
  demo.launch()
30
+