meg HF Staff commited on
Commit
c4933ab
Β·
verified Β·
1 Parent(s): 111bd9e

Left panel wording changes

Browse files

Made edits concerning a few different things -- ideally these would be comments, since the nature of these changes aren't all the same. Some are about readability; some are about making things more specific or more general; some are about making the content perhaps more understandable to someone naively walking into the Space; some are about UI presentation.

Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -485,18 +485,19 @@ def load_cached_list():
485
  TITLE = "<div style='text-align: center;'><h1>πŸ€— Space Privacy Analyzer πŸ•΅οΈ</h1></div>\n<div style='text-align: center;'><h4>Automatic code Data transfer review powered by <a href='https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct' target='_blank'>Qwen2.5-Coder-32B-Instruct</a></h4></div>"
486
 
487
  DESCRIPTION = """
488
- ### What Privacy Questions do πŸ€— Spaces Raise?
489
 
490
- [Hugging Face Spaces](https://huggingface.co/spaces) offer a convenient way to build and share demos leveraging AI models.
491
- In most cases, the code for these demos is open source &mdash; which provides a unique opportunity to check **how they manage the privacy** of the data in use.
492
 
493
- This demo leverages a code analysis model ([Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct)) to help explore these questions in two steps:
494
- it first obtains and **parses the code** to identify data inputs, AI model use, API calls, and data transfer, then generates a summary of the app's function and **key privacy points**.
 
495
 
496
  Use the dropdown menu below to explore the [reports generated for some popular Spaces](https://huggingface.co/datasets/yjernite/spaces-privacy-reports/tree/main), or enter a new Space ID to query your own πŸ‘‡
497
 
498
  *Please note the following limitations:*
499
- - *The model may easily miss important details in the code, especially when it leverages docker files or external libraries.*
500
  - *This app uses the base Qwen Coder model without specific adaptation to the task. We'd love to discuss how to improve this, if you want to participate [feel free to open a discussion!](https://huggingface.co/spaces/yjernite/space-privacy/discussions)*
501
  """
502
 
 
485
  TITLE = "<div style='text-align: center;'><h1>πŸ€— Space Privacy Analyzer πŸ•΅οΈ</h1></div>\n<div style='text-align: center;'><h4>Automatic code Data transfer review powered by <a href='https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct' target='_blank'>Qwen2.5-Coder-32B-Instruct</a></h4></div>"
486
 
487
  DESCRIPTION = """
488
+ ### Check the Privacy of a Hugging Face Space
489
 
490
+ [Hugging Face πŸ€— Spaces](https://huggingface.co/spaces) offer a convenient way to build and share code demos online.
491
+ In most cases, the code for these demos is open source &mdash; which provides a unique opportunity to **examine how privacy is managed** in the demo.
492
 
493
+ This demo leverages a code analysis model ([Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct)) to help explore privacy questions in two steps:
494
+ 1. Obtain and **parse the code** of a Space to identify data inputs, AI model use, API calls, and data transfer behavior.
495
+ 2. Generate a summary of the Space's function and highlight **key privacy points**.
496
 
497
  Use the dropdown menu below to explore the [reports generated for some popular Spaces](https://huggingface.co/datasets/yjernite/spaces-privacy-reports/tree/main), or enter a new Space ID to query your own πŸ‘‡
498
 
499
  *Please note the following limitations:*
500
+ - *The model may miss important details in the code, especially when it leverages Docker files or external libraries.*
501
  - *This app uses the base Qwen Coder model without specific adaptation to the task. We'd love to discuss how to improve this, if you want to participate [feel free to open a discussion!](https://huggingface.co/spaces/yjernite/space-privacy/discussions)*
502
  """
503