smartdigitalsolutions commited on
Commit
26d4c00
·
verified ·
1 Parent(s): 5e9fcd0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 5.30.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
@@ -12,12 +12,12 @@ license: mit
12
 
13
  # Mistral-7B API Server
14
 
15
- Questo Space fornisce un'API compatibile con OpenAI per il modello Mistral-7B-Instruct-v0.2. L'API è accessibile tramite l'endpoint `/v1/chat/completions`.
16
 
17
  ## Caratteristiche
18
  - Versione quantizzata GGUF del modello Mistral-7B-Instruct-v0.2
19
  - API compatibile con OpenAI
20
- - Interfaccia di test Gradio per verificare il funzionamento del modello
21
 
22
  ## API Usage
23
  ```python
@@ -38,10 +38,10 @@ data = {
38
  }
39
 
40
  response = requests.post(
41
- "https://huggingface.co/spaces/[username]/Mistral-7B-API/v1/chat/completions",
42
  headers=headers,
43
  json=data
44
  )
45
 
46
  print(json.dumps(response.json(), indent=2))
47
- ```
 
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.13.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
12
 
13
  # Mistral-7B API Server
14
 
15
+ Questo Space fornisce un'API compatibile con OpenAI per il modello Mistral-7B-Instruct-v0.2. L'API è accessibile tramite l'endpoint `/v1/chat/completions`. L'interfaccia Gradio è disponibile al percorso `/gradio`.
16
 
17
  ## Caratteristiche
18
  - Versione quantizzata GGUF del modello Mistral-7B-Instruct-v0.2
19
  - API compatibile con OpenAI
20
+ - Interfaccia di test Gradio per verificare il funzionamento del modello (https://huggingface.co/spaces/<username>/Mistral-7B-API/gradio)
21
 
22
  ## API Usage
23
  ```python
 
38
  }
39
 
40
  response = requests.post(
41
+ "https://huggingface.co/spaces/<username>/Mistral-7B-API/v1/chat/completions",
42
  headers=headers,
43
  json=data
44
  )
45
 
46
  print(json.dumps(response.json(), indent=2))
47
+ ```