Dorjzodovsuren commited on
Commit
b7e8009
·
verified ·
1 Parent(s): e450c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import edge_tts
2
  import tempfile
3
  import gradio as gr
@@ -6,7 +7,7 @@ from huggingface_hub import InferenceClient
6
  """
7
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
8
  """
9
- client = InferenceClient("google/gemma-3-27b-it")
10
 
11
  global history
12
  history = []
 
1
+ import os
2
  import edge_tts
3
  import tempfile
4
  import gradio as gr
 
7
  """
8
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
9
  """
10
+ client = InferenceClient("google/gemma-3-27b-it", token=os.getenv("TOKEN"))
11
 
12
  global history
13
  history = []