Spaces:
Runtime error
Runtime error
Update app.py
Browse filesLoading model directly
app.py
CHANGED
@@ -1,12 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
-
from huggingface_hub import InferenceClient
|
3 |
-
|
4 |
-
"""
|
5 |
-
# Load model directly
|
6 |
from transformers import AutoModel
|
7 |
-
|
8 |
-
""
|
9 |
-
client = InferenceClient("ebowwa/cognitive-hacker-gguf")
|
10 |
|
11 |
|
12 |
def respond(
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
2 |
from transformers import AutoModel
|
3 |
+
|
4 |
+
client = AutoModel.from_pretrained("ebowwa/cognitive-hacker-gguf")
|
|
|
5 |
|
6 |
|
7 |
def respond(
|