Nextgengirls commited on
Commit
3dd2994
·
verified ·
1 Parent(s): 8ab86d8

Delete APP.PY

Browse files
Files changed (1) hide show
  1. APP.PY +0 -19
APP.PY DELETED
@@ -1,19 +0,0 @@
1
- import os
2
- from openai import OpenAI
3
-
4
- client = OpenAI(
5
- base_url="https://router.huggingface.co/v1",
6
- api_key=os.environ["HF_TOKEN"],
7
- )
8
-
9
- completion = client.chat.completions.create(
10
- model="MiniMaxAI/MiniMax-M2:novita",
11
- messages=[
12
- {
13
- "role": "user",
14
- "content": "What is the capital of France?"
15
- }
16
- ],
17
- )
18
-
19
- print(completion.choices[0].message)