Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,11 +59,11 @@ class_labels = {0: 'Baked Potato',1: 'Burger',2: 'Cake',3: 'Chips',4: 'Crispy Ch
|
|
| 59 |
29: 'corn',30: 'crab',31: 'cucumber',32: 'eggplant',33: 'eggs',34: 'garlic',36: 'grapes',37: 'milk',
|
| 60 |
38: 'salamon',39: 'yogurt'}
|
| 61 |
|
| 62 |
-
api_key='
|
| 63 |
llm = HuggingFaceEndpoint(
|
| 64 |
repo_id="Qwen/Qwen2.5-72B-Instruct",
|
| 65 |
max_new_tokens=512,
|
| 66 |
-
client=api_key[:-
|
| 67 |
)
|
| 68 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|
| 69 |
|
|
|
|
| 59 |
29: 'corn',30: 'crab',31: 'cucumber',32: 'eggplant',33: 'eggs',34: 'garlic',36: 'grapes',37: 'milk',
|
| 60 |
38: 'salamon',39: 'yogurt'}
|
| 61 |
|
| 62 |
+
api_key='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12'
|
| 63 |
llm = HuggingFaceEndpoint(
|
| 64 |
repo_id="Qwen/Qwen2.5-72B-Instruct",
|
| 65 |
max_new_tokens=512,
|
| 66 |
+
client=api_key[:-2]
|
| 67 |
)
|
| 68 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|
| 69 |
|