benfunke98 commited on
Commit
3f69fec
·
verified ·
1 Parent(s): 6285eb6

edited token

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -29,10 +29,6 @@ llama_pipeline = pipeline(
29
  if access_token is None:
30
  raise ValueError("Access token is missing. Make sure it is set as an environment variable.")
31
 
32
- # Verwende das Zugriffstoken für die Authentifizierung
33
- llama_pipeline.tokenizer.model.tokenizer_kwargs.pop("use_auth_token", None)
34
-
35
-
36
  @app.get("/generate")
37
  def generate(text: str):
38
  """
 
29
  if access_token is None:
30
  raise ValueError("Access token is missing. Make sure it is set as an environment variable.")
31
 
 
 
 
 
32
  @app.get("/generate")
33
  def generate(text: str):
34
  """