Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def generate_response(user_input):
|
|
| 16 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
| 17 |
|
| 18 |
# Generate a response using the OpenAI API
|
| 19 |
-
def openai_create(prompt)
|
| 20 |
response = openai.Completion.create(
|
| 21 |
model="text-davinci-003",
|
| 22 |
prompt=prompt,
|
|
|
|
| 16 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
| 17 |
|
| 18 |
# Generate a response using the OpenAI API
|
| 19 |
+
def openai_create(prompt)
|
| 20 |
response = openai.Completion.create(
|
| 21 |
model="text-davinci-003",
|
| 22 |
prompt=prompt,
|