Spaces:
Runtime error
Runtime error
mohamedashraf11
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,6 @@ import gradio as gr
|
|
11 |
from huggingface_hub import InferenceClient
|
12 |
|
13 |
# Ensure you have set your Hugging Face API token here or as an environment variable
|
14 |
-
HUGGINGFACEHUB_API_TOKEN = "your_huggingface_api_token" # Replace with your actual Hugging Face token
|
15 |
|
16 |
# Initialize the Hugging Face Inference Client
|
17 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
|
11 |
from huggingface_hub import InferenceClient
|
12 |
|
13 |
# Ensure you have set your Hugging Face API token here or as an environment variable
|
|
|
14 |
|
15 |
# Initialize the Hugging Face Inference Client
|
16 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|