Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def magic_function(input_text):
|
|
39 |
# This may need adjustment if the API has a different format.
|
40 |
content = response_json.get("choices", [{}])[0].get("message", {}).get("content", "Error: Could not parse response.")
|
41 |
|
42 |
-
content = extract_suggestion_with_regex(content)
|
43 |
|
44 |
return content.strip()
|
45 |
|
|
|
39 |
# This may need adjustment if the API has a different format.
|
40 |
content = response_json.get("choices", [{}])[0].get("message", {}).get("content", "Error: Could not parse response.")
|
41 |
|
42 |
+
#content = extract_suggestion_with_regex(content)
|
43 |
|
44 |
return content.strip()
|
45 |
|