Falln87 commited on
Commit
614f83d
1 Parent(s): 05c0e5b

Update app.py

Browse files

Loading model directly

Files changed (1) hide show
  1. app.py +2 -7
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
- model = AutoModel.from_pretrained("ebowwa/cognitive-hacker-gguf")
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(