Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
-
|
4 |
|
5 |
# Retrieve the API key from the Hugging Face secret
|
6 |
api_key = hf.secrets.get("INSTRUCTOR_API_KEY")
|
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
+
import huggingface_hub as hf
|
4 |
|
5 |
# Retrieve the API key from the Hugging Face secret
|
6 |
api_key = hf.secrets.get("INSTRUCTOR_API_KEY")
|