Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
-
import
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
-
|
| 5 |
-
print(
|
|
|
|
|
|
| 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?"))
|