Omnibus commited on
Commit
230a5e9
1 Parent(s): 310ffe7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -1,5 +1,9 @@
1
- import torch
2
- from transformers import pipeline
 
 
 
3
 
4
- pipe = pipeline("text-generation", model="keyfan/grok-1-hf", trust_remote_code=True)
5
- print(pipe("hello?"))
 
 
1
+ import gradio as gr
2
+ #import torch
3
+ #from transformers import pipeline
4
+ #pipe = pipeline("text-generation", model="keyfan/grok-1-hf", trust_remote_code=True)
5
+ #print(pipe("hello?"))
6
 
7
+ this = gr.load("models/keyfan/grok-1-hf")
8
+ print(this)
9
+ print(this("hello?"))