Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
-
import json
|
2 |
import os
|
3 |
-
import shutil
|
4 |
-
import requests
|
5 |
-
|
6 |
import gradio as gr
|
7 |
-
from huggingface_hub import
|
8 |
|
9 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
10 |
API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-2-70b-chat-hf"
|
|
|
|
|
1 |
import os
|
|
|
|
|
|
|
2 |
import gradio as gr
|
3 |
+
from huggingface_hub import InferenceClient
|
4 |
|
5 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
6 |
API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-2-70b-chat-hf"
|