Akjava commited on
Commit
6508b13
Β·
verified Β·
1 Parent(s): f6c35fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,8 +9,9 @@ For more information on `huggingface_hub` Inference API support, please check th
9
  token = os.getenv("HUGGINGFACE_TOKEN")
10
  if token =="":
11
  raise ValueError("HUGGINGFACE_TOKEN environment variable is not set")
12
-
13
- client = InferenceClient("google/gemma-2-2b",token = token)
 
14
 
15
  @spaces.GPU(duration=60)
16
  def respond(
 
9
  token = os.getenv("HUGGINGFACE_TOKEN")
10
  if token =="":
11
  raise ValueError("HUGGINGFACE_TOKEN environment variable is not set")
12
+ print(token)
13
+
14
+ client = InferenceClient("google/gemma-2-2b-it",token = token)
15
 
16
  @spaces.GPU(duration=60)
17
  def respond(