Sk1306 commited on
Commit
1d4a3f0
·
verified ·
1 Parent(s): f80b598

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -2
README.md CHANGED
@@ -50,8 +50,18 @@ This model is intended for educational platforms, chat moderation tools, and stu
50
  2. Promote a positive and respectful chat environment for students.
51
 
52
  ---
53
-
54
- ## Example Usage
 
 
 
 
 
 
 
 
 
 
55
 
56
  ```python
57
  import torch
 
50
  2. Promote a positive and respectful chat environment for students.
51
 
52
  ---
53
+ ## Use it with Gradio API:
54
+ ```python
55
+ from gradio_client import Client
56
+
57
+ client = Client("Sk1306/Student_Ethics_Chat_Classifier")
58
+ result = client.predict(
59
+ text="you can copy in exam to pass!!",
60
+ api_name="/predict"
61
+ )
62
+ print(result)
63
+ ```
64
+ ## By loading Model
65
 
66
  ```python
67
  import torch