Bisher commited on
Commit
ebd80bf
·
verified ·
1 Parent(s): 11c0435

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  pipe = pipeline("text2text-generation", model="basharalrfooh/Fine-Tashkeel")
7
 
8
  def diacratize_text(text):
9
- return pip(text)['generated_text']
10
 
11
  demo = gr.Interface(
12
  fn=diacratize_text,
 
6
  pipe = pipeline("text2text-generation", model="basharalrfooh/Fine-Tashkeel")
7
 
8
  def diacratize_text(text):
9
+ return pipe(text)['generated_text']
10
 
11
  demo = gr.Interface(
12
  fn=diacratize_text,