Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: ExampleChatBot
|
| 3 |
+
emoji: 🫂
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 3.20.1
|
| 8 |
+
app_file: chatbot.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Chatbot for Psychological Assessment
|
| 13 |
+
|
| 14 |
+
This is an example chatbot that uses Gradio and the OpenAI GPT-3-Turbo API that can be used to assess psychology, as part of tutorial project made by the Attachment and Close Relationships Lab at the University of Illinois at Urbana-Champaign.
|
| 15 |
+
|
| 16 |
+
To run the chatbot, follow these steps:
|
| 17 |
+
|
| 18 |
+
Clone this repository to your local machine.
|
| 19 |
+
Install the required dependencies using pip install -r requirements.txt.
|
| 20 |
+
If you don't already have an OpenAI API key, create one and set it as an environment variable called OPENAI_API_KEY.
|
| 21 |
+
Run python chatbot.py to start the chatbot.
|
| 22 |
+
Select the type of input you'd like to use (text or audio) and enter or speak your message to the chatbot.
|
| 23 |
+
The chatbot can be modified to assess whatever is your target interest.
|
| 24 |
+
Note that this chatbot is not intended to provide professional advice or diagnosis, and is for research purposes only.
|
| 25 |
+
|
| 26 |
+
If you have any issues or questions, please reach out to the Attachment and Close Relationships Lab at the University of Illinois at Urbana-Champaign.
|
| 27 |
+
|
| 28 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|