ryanrwatkins commited on
Commit
bf150e6
1 Parent(s): b8572b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -41,7 +41,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
41
  repo = Repository(
42
  local_dir="prompts_archive", clone_from=prompts_archive_url, use_auth_token=HF_TOKEN
43
  )
44
- repo.push_to_hub()
45
 
46
 
47
  def get_empty_state():
@@ -101,7 +101,8 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
101
  writer.writerow(
102
  {"prompt": str(prompt), "time": str(datetime.now())}
103
  )
104
-
 
105
 
106
  system_prompt = []
107
  if prompt_template:
 
41
  repo = Repository(
42
  local_dir="prompts_archive", clone_from=prompts_archive_url, use_auth_token=HF_TOKEN
43
  )
44
+
45
 
46
 
47
  def get_empty_state():
 
101
  writer.writerow(
102
  {"prompt": str(prompt), "time": str(datetime.now())}
103
  )
104
+ commit_url = repo.push_to_hub()
105
+ print(commit_url)
106
 
107
  system_prompt = []
108
  if prompt_template: