stellababy2004 commited on
Commit
f242dd6
·
verified ·
1 Parent(s): d0fa5c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import gradio as gr
2
  import os
3
  from huggingface_hub import InferenceClient
 
4
  client = InferenceClient(
5
  "mistralai/Mistral-7B-Instruct-v0.2",
6
  token=os.getenv("HF_TOKEN") # Взима токена от Secret/Env
 
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
  """
 
1
  import gradio as gr
2
  import os
3
  from huggingface_hub import InferenceClient
4
+
5
  client = InferenceClient(
6
  "mistralai/Mistral-7B-Instruct-v0.2",
7
  token=os.getenv("HF_TOKEN") # Взима токена от Secret/Env
8
+ )
9
  """
10
  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
11
  """