Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
·
8138173
1
Parent(s):
82598a2
Added Legal Information
Browse files- README.md +32 -1
- app.py +1 -0
- docs/instruction.py +33 -2
README.md
CHANGED
@@ -180,10 +180,41 @@ You can configure each models separately. Find more examples in the `.env.exampl
|
|
180 |
|
181 |
The service is powered by Gradio, and the demo version is hosted on HuggingFace Spaces.
|
182 |
|
183 |
-
Even though the service can be used with great variety of models I want to
|
184 |
- **OpenAI**: For models like GPT-3.5, GPT-4, Whisper, and TTS-1. More details on their models and usage policies can be found at [OpenAI's website](https://www.openai.com).
|
185 |
- **Meta**: For the Llama models, particularly the Meta-Llama-3-70B-Instruct, as well as Facebook-mms-tts-eng model. Visit [Meta AI](https://ai.facebook.com) for more information.
|
186 |
- **HuggingFace**: For a wide range of models and APIs that greatly enhance the flexibility of this tool. For specific details on usage, refer to [Hugging Face's documentation](https://huggingface.co).
|
187 |
|
188 |
Please ensure to review the specific documentation and follow the terms of service for each model and API you use, as this is crucial for responsible and compliant use of these technologies.
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
The service is powered by Gradio, and the demo version is hosted on HuggingFace Spaces.
|
182 |
|
183 |
+
Even though the service can be used with great variety of models I want to specifically acknowledge a few of them:
|
184 |
- **OpenAI**: For models like GPT-3.5, GPT-4, Whisper, and TTS-1. More details on their models and usage policies can be found at [OpenAI's website](https://www.openai.com).
|
185 |
- **Meta**: For the Llama models, particularly the Meta-Llama-3-70B-Instruct, as well as Facebook-mms-tts-eng model. Visit [Meta AI](https://ai.facebook.com) for more information.
|
186 |
- **HuggingFace**: For a wide range of models and APIs that greatly enhance the flexibility of this tool. For specific details on usage, refer to [Hugging Face's documentation](https://huggingface.co).
|
187 |
|
188 |
Please ensure to review the specific documentation and follow the terms of service for each model and API you use, as this is crucial for responsible and compliant use of these technologies.
|
189 |
|
190 |
+
|
191 |
+
|
192 |
+
## Important Legal and Compliance Information
|
193 |
+
|
194 |
+
### Acceptance of Terms
|
195 |
+
By utilizing this project, in any form—hosted or locally run—you acknowledge and consent to the terms outlined herein. Continued use of the service following any modifications to these terms constitutes acceptance of the revised terms.
|
196 |
+
|
197 |
+
### General User Responsibilities
|
198 |
+
Users of this project are responsible for complying with all applicable laws and regulations in their jurisdiction, including data protection and privacy laws.
|
199 |
+
|
200 |
+
### Liability Disclaimer
|
201 |
+
The creator of this open source software disclaims all liability for any damages or legal issues that arise from the use of this software. Users are solely responsible for their own data and ensuring compliance with all applicable laws and regulations.
|
202 |
+
|
203 |
+
### License Compatibility
|
204 |
+
This project is released under the Apache 2.0 license. Users must ensure compatibility with this license when integrating additional software or libraries.
|
205 |
+
|
206 |
+
### Contribution Guidelines
|
207 |
+
Contributors are required to ensure that their contributions comply with this license and respect the legal rights of third parties.
|
208 |
+
|
209 |
+
### Specific Guidelines for Usage
|
210 |
+
#### 1. Hosted Demo Version on Hugging Face Spaces
|
211 |
+
- **Prohibition on Personal Data Submission**: Users must not input any private, personal, sensitive information, or other restricted categories such as commercial secrets, proprietary business information, or potentially non-public financial data into this service. The functionalities that process personal data, such as CV analysis and behavioral interviews, have been disabled in this demo mode. The service is designed solely for non-personal data interaction.
|
212 |
+
- **Third-Party API Usage**: User inputs are processed using third-party APIs, including services by OpenAI and Hugging Face OS models, under the service owner's API keys. No data is stored by the service owner. Users must review and comply with the terms of service and privacy policies of these third-party services.
|
213 |
+
- **Hugging Face Policies**: Usage of this service on Hugging Face Spaces binds users to Hugging Face’s terms of use and privacy policy. Users are advised to review these policies, accessible on the Hugging Face website, to understand their rights and obligations.
|
214 |
+
|
215 |
+
#### 2. Running the Service Locally
|
216 |
+
- **Absolute User Responsibility**: When the service is run locally, users have absolute control and responsibility over its operation. Users must secure their own API keys from third-party providers or opt to run local models. Users are fully responsible for ensuring that their use complies with all applicable laws and third-party policies.
|
217 |
+
- **Data Sensitivity Caution**: Users are strongly cautioned against entering sensitive, personal, or non-public information, including but not limited to trade secrets, undisclosed patents, or insider information that could potentially result in legal repercussions or breaches of confidentiality.
|
218 |
+
|
219 |
+
### AI-Generated Content Disclaimer
|
220 |
+
- **Nature of AI Content**: Content generated by this service is derived from artificial intelligence, utilizing models such as Large Language Models (LLM), Speech-to-Text (STT), Text-to-Speech (TTS), and other models. The service owner assumes no responsibility for the content generated by AI. This content is provided for informational or entertainment purposes only and should not be considered legally binding or factually accurate. AI-generated content does not constitute an agreement or acknowledge any factual statements or obligations.
|
app.py
CHANGED
@@ -93,6 +93,7 @@ with gr.Blocks(title="AI Interviewer") as demo:
|
|
93 |
audio_input_example = gr.Audio(interactive=True, **default_audio_params)
|
94 |
gr.Markdown(instruction["models"])
|
95 |
gr.Markdown(instruction["acknowledgements"])
|
|
|
96 |
|
97 |
with gr.Tab("Coding") as coding_tab:
|
98 |
chat_history = gr.State([])
|
|
|
93 |
audio_input_example = gr.Audio(interactive=True, **default_audio_params)
|
94 |
gr.Markdown(instruction["models"])
|
95 |
gr.Markdown(instruction["acknowledgements"])
|
96 |
+
gr.Markdown(instruction["legal"])
|
97 |
|
98 |
with gr.Tab("Coding") as coding_tab:
|
99 |
chat_history = gr.State([])
|
docs/instruction.py
CHANGED
@@ -170,13 +170,44 @@ You can configure each models separately. Find more examples in the `.env.exampl
|
|
170 |
|
171 |
The service is powered by Gradio, and the demo version is hosted on HuggingFace Spaces.
|
172 |
|
173 |
-
Even though the service can be used with great variety of models I want to
|
174 |
- **OpenAI**: For models like GPT-3.5, GPT-4, Whisper, and TTS-1. More details on their models and usage policies can be found at [OpenAI's website](https://www.openai.com).
|
175 |
- **Meta**: For the Llama models, particularly the Meta-Llama-3-70B-Instruct, as well as Facebook-mms-tts-eng model. Visit [Meta AI](https://ai.facebook.com) for more information.
|
176 |
- **HuggingFace**: For a wide range of models and APIs that greatly enhance the flexibility of this tool. For specific details on usage, refer to [Hugging Face's documentation](https://huggingface.co).
|
177 |
|
178 |
Please ensure to review the specific documentation and follow the terms of service for each model and API you use, as this is crucial for responsible and compliant use of these technologies.
|
179 |
""",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
|
182 |
if __name__ == "__main__":
|
@@ -198,6 +229,6 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
198 |
with open("README.md", "w") as f:
|
199 |
f.write(spaces_config)
|
200 |
|
201 |
-
for key in ("introduction", "quick_start", "interface", "models", "acknowledgements"):
|
202 |
f.write(instruction[key])
|
203 |
f.write("\n\n")
|
|
|
170 |
|
171 |
The service is powered by Gradio, and the demo version is hosted on HuggingFace Spaces.
|
172 |
|
173 |
+
Even though the service can be used with great variety of models I want to specifically acknowledge a few of them:
|
174 |
- **OpenAI**: For models like GPT-3.5, GPT-4, Whisper, and TTS-1. More details on their models and usage policies can be found at [OpenAI's website](https://www.openai.com).
|
175 |
- **Meta**: For the Llama models, particularly the Meta-Llama-3-70B-Instruct, as well as Facebook-mms-tts-eng model. Visit [Meta AI](https://ai.facebook.com) for more information.
|
176 |
- **HuggingFace**: For a wide range of models and APIs that greatly enhance the flexibility of this tool. For specific details on usage, refer to [Hugging Face's documentation](https://huggingface.co).
|
177 |
|
178 |
Please ensure to review the specific documentation and follow the terms of service for each model and API you use, as this is crucial for responsible and compliant use of these technologies.
|
179 |
""",
|
180 |
+
"legal": """
|
181 |
+
## Important Legal and Compliance Information
|
182 |
+
|
183 |
+
### Acceptance of Terms
|
184 |
+
By utilizing this project, in any form—hosted or locally run—you acknowledge and consent to the terms outlined herein. Continued use of the service following any modifications to these terms constitutes acceptance of the revised terms.
|
185 |
+
|
186 |
+
### General User Responsibilities
|
187 |
+
Users of this project are responsible for complying with all applicable laws and regulations in their jurisdiction, including data protection and privacy laws.
|
188 |
+
|
189 |
+
### Liability Disclaimer
|
190 |
+
The creator of this open source software disclaims all liability for any damages or legal issues that arise from the use of this software. Users are solely responsible for their own data and ensuring compliance with all applicable laws and regulations.
|
191 |
+
|
192 |
+
### License Compatibility
|
193 |
+
This project is released under the Apache 2.0 license. Users must ensure compatibility with this license when integrating additional software or libraries.
|
194 |
+
|
195 |
+
### Contribution Guidelines
|
196 |
+
Contributors are required to ensure that their contributions comply with this license and respect the legal rights of third parties.
|
197 |
+
|
198 |
+
### Specific Guidelines for Usage
|
199 |
+
#### 1. Hosted Demo Version on Hugging Face Spaces
|
200 |
+
- **Prohibition on Personal Data Submission**: Users must not input any private, personal, sensitive information, or other restricted categories such as commercial secrets, proprietary business information, or potentially non-public financial data into this service. The functionalities that process personal data, such as CV analysis and behavioral interviews, have been disabled in this demo mode. The service is designed solely for non-personal data interaction.
|
201 |
+
- **Third-Party API Usage**: User inputs are processed using third-party APIs, including services by OpenAI and Hugging Face OS models, under the service owner's API keys. No data is stored by the service owner. Users must review and comply with the terms of service and privacy policies of these third-party services.
|
202 |
+
- **Hugging Face Policies**: Usage of this service on Hugging Face Spaces binds users to Hugging Face’s terms of use and privacy policy. Users are advised to review these policies, accessible on the Hugging Face website, to understand their rights and obligations.
|
203 |
+
|
204 |
+
#### 2. Running the Service Locally
|
205 |
+
- **Absolute User Responsibility**: When the service is run locally, users have absolute control and responsibility over its operation. Users must secure their own API keys from third-party providers or opt to run local models. Users are fully responsible for ensuring that their use complies with all applicable laws and third-party policies.
|
206 |
+
- **Data Sensitivity Caution**: Users are strongly cautioned against entering sensitive, personal, or non-public information, including but not limited to trade secrets, undisclosed patents, or insider information that could potentially result in legal repercussions or breaches of confidentiality.
|
207 |
+
|
208 |
+
### AI-Generated Content Disclaimer
|
209 |
+
- **Nature of AI Content**: Content generated by this service is derived from artificial intelligence, utilizing models such as Large Language Models (LLM), Speech-to-Text (STT), Text-to-Speech (TTS), and other models. The service owner assumes no responsibility for the content generated by AI. This content is provided for informational or entertainment purposes only and should not be considered legally binding or factually accurate. AI-generated content does not constitute an agreement or acknowledge any factual statements or obligations.
|
210 |
+
""",
|
211 |
}
|
212 |
|
213 |
if __name__ == "__main__":
|
|
|
229 |
with open("README.md", "w") as f:
|
230 |
f.write(spaces_config)
|
231 |
|
232 |
+
for key in ("introduction", "quick_start", "interface", "models", "acknowledgements", "legal"):
|
233 |
f.write(instruction[key])
|
234 |
f.write("\n\n")
|