Duplicated from Omnibus/Grok-test-2
230a5e9 497ea18 230a5e9
1
2
3
4
5
6
7
8
9
import gradio as gr #import torch #from transformers import pipeline #pipe = pipeline("text-generation", model="keyfan/grok-1-hf", trust_remote_code=True) #print(pipe("hello?")) this = gr.load("models/keyfan/grok-1-hf") print(this) print(this("hello?"))