DiamondYin commited on
Commit
6d124cb
·
1 Parent(s): bb6b177

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -79,11 +79,7 @@ def get_response(history, audio_input):
79
  question = 'hello'
80
 
81
  #answer = conv_model.run(question)
82
- answer = SparkApi_jayce.create(appid="d2ff57e0",
83
- api_secret="YjlmNDdkYjFmMGMzYjc5MmJiODFjN2Fi",
84
- api_key="07963fbc530a42f4ad223517decfd5fe",
85
- gpt_url="ws://spark-api.xf-yun.com/v1.1/chat",
86
- question= question)
87
  #answer1 = str(answer)
88
  LOGGER.info("\ndocument_response: %s", answer)
89
  print('\ndocument_response:', answer)
 
79
  question = 'hello'
80
 
81
  #answer = conv_model.run(question)
82
+ answer = SparkApi_jayce.create(question)
 
 
 
 
83
  #answer1 = str(answer)
84
  LOGGER.info("\ndocument_response: %s", answer)
85
  print('\ndocument_response:', answer)