xqt commited on
Commit
7a4858f
·
1 Parent(s): 5446331

UPD: Fixed LlamaManager API Use and added details for where the data is saved.

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,6 +13,7 @@ def store_generated_data(data):
13
 
14
 
15
  def authenticate(secret_textbox):
 
16
  password_list = os.environ.get("PASSWORD_LIST")
17
  password_list = password_list.split(":")
18
  api_key = ""
@@ -82,7 +83,8 @@ def generate_questions(questions_count, category, shots, seed, temperature, top_
82
 
83
  with gradio.Blocks(fill_height=True) as base_app:
84
  gradio.Markdown("# Synthetic Python Programming Data Generation ⚙️")
85
- gradio.Markdown("# ❗️ Note: The data generated here by Llama3 and the settings used to generate it will be stored in the repository for future use.")
 
86
  gradio.Markdown("# ❗️ Feel free to use your own API key if the key here is rate limited. API Key is never stored in the repository.")
87
  gradio.Markdown("# ❗️ If you want to use a passcode, please text me.")
88
  gradio.Markdown("# Step 0: Use your own API Key/Passcode")
 
13
 
14
 
15
  def authenticate(secret_textbox):
16
+ global LLAMAMANAGER
17
  password_list = os.environ.get("PASSWORD_LIST")
18
  password_list = password_list.split(":")
19
  api_key = ""
 
83
 
84
  with gradio.Blocks(fill_height=True) as base_app:
85
  gradio.Markdown("# Synthetic Python Programming Data Generation ⚙️")
86
+ gradio.Markdown("# ❗️ Note: The data generated here by Llama3 and the settings used to generate it will be stored in the repository [here](https://huggingface.co/datasets/xqt/SyntheticMBPP2) for future use.")
87
+ gradio.Markdown("# ❗️ Each successful interaction is saved [here](https://huggingface.co/datasets/xqt/SyntheticMBPP2/discussions/1)")
88
  gradio.Markdown("# ❗️ Feel free to use your own API key if the key here is rate limited. API Key is never stored in the repository.")
89
  gradio.Markdown("# ❗️ If you want to use a passcode, please text me.")
90
  gradio.Markdown("# Step 0: Use your own API Key/Passcode")