Spaces:
Runtime error
Runtime error
Commit
·
9b459ae
1
Parent(s):
34b863f
Initial
Browse files
app.py
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Related third-party imports
|
| 2 |
import gradio as gr
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
-
client = InferenceClient("bunyaminergen/Qwen2.5-Coder-1.5B-Instruct-Reasoning")
|
| 6 |
|
| 7 |
|
| 8 |
def respond(
|
|
|
|
| 1 |
+
# Standard library imports
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
# Related third-party imports
|
| 5 |
import gradio as gr
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
|
| 8 |
+
client = InferenceClient("bunyaminergen/Qwen2.5-Coder-1.5B-Instruct-Reasoning", token=os.getenv("HF_TOKEN"))
|
| 9 |
|
| 10 |
|
| 11 |
def respond(
|