Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,11 +92,8 @@ def parse_query(nl_query):
|
|
92 |
"""
|
93 |
|
94 |
try:
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
response = client.completions.create(
|
99 |
-
model="gpt-3.5-turbo-instruct", # You can choose a different engine if preferred
|
100 |
prompt=prompt,
|
101 |
temperature=0, # Set to 0 for deterministic output
|
102 |
max_tokens=150,
|
|
|
92 |
"""
|
93 |
|
94 |
try:
|
95 |
+
response = openai.Completion.create(
|
96 |
+
model="gpt-3.5-turbo-instruct", # Use the appropriate model for completions
|
|
|
|
|
|
|
97 |
prompt=prompt,
|
98 |
temperature=0, # Set to 0 for deterministic output
|
99 |
max_tokens=150,
|