akhooli commited on
Commit
b9ccff1
1 Parent(s): f2b319f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='akhooli/ap2023', tokenizer='akhooli/ap2023')
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='https://huggingface.co/akhooli/ap2023', tokenizer='akhooli/ap2023')
6
  #gc.collect()
7
  samples = [['أنت'
8
  ,1.0, 50, 1.0, 1.0],['هل غادر'