Spaces:
Sleeping
Sleeping
Commit
·
ad8c339
1
Parent(s):
2988df1
yup
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
|
4 |
-
pipe = pipeline("text2text-generation", model="ejschwartz/slade-x86-O3")
|
5 |
|
6 |
def predict(asm):
|
7 |
return pipe(asm, max_length=1024)
|
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
|
4 |
+
pipe = transformers.pipeline("text2text-generation", model="ejschwartz/slade-x86-O3")
|
5 |
|
6 |
def predict(asm):
|
7 |
return pipe(asm, max_length=1024)
|