Spaces:
Sleeping
Sleeping
soroushheidary
commited on
Commit
•
a449f6c
1
Parent(s):
4fdddcb
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,9 @@ def check_grammar(text):
|
|
23 |
"content": text,
|
24 |
}],
|
25 |
)
|
26 |
-
print(response.choices[0])
|
27 |
return response.choices[0].message.content
|
28 |
except Exception as e:
|
29 |
print('Error Happened Here!')
|
30 |
-
print(response.choices[0])
|
31 |
return str(e)
|
32 |
|
33 |
|
|
|
23 |
"content": text,
|
24 |
}],
|
25 |
)
|
|
|
26 |
return response.choices[0].message.content
|
27 |
except Exception as e:
|
28 |
print('Error Happened Here!')
|
|
|
29 |
return str(e)
|
30 |
|
31 |
|