Spaces:
Sleeping
Sleeping
updated pipe params
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gc
|
|
2 |
import gradio as gr
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
pipe = pipeline('text-generation', framework='pt', model='
|
6 |
#gc.collect()
|
7 |
samples = [['أنت'
|
8 |
,1.0, 50, 1.0, 1.0],['هل غادر'
|
|
|
2 |
import gradio as gr
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
pipe = pipeline('text-generation', framework='pt', model='akhooli/ap2023', tokenizer='akhooli/ap2023')
|
6 |
#gc.collect()
|
7 |
samples = [['أنت'
|
8 |
,1.0, 50, 1.0, 1.0],['هل غادر'
|