elariz commited on
Commit
d10f5b6
·
verified ·
1 Parent(s): 1e83cef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -1,23 +1,10 @@
1
- # -*- coding: utf-8 -*-
2
- """app.ipynb
3
-
4
- Automatically generated by Colab.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1d6MSh5DMmENGXOTWdwsTlwgIqzphq4Pu
8
- """
9
-
10
- !pip install gradio
11
-
12
  import gradio as gr
13
  from transformers import pipeline
14
  import re
 
15
  import nltk
16
  nltk.download('punkt')
17
 
18
- !pip install unidecode
19
-
20
- from unidecode import unidecode
21
 
22
  # Preprocessing function: lowercasing and removing special characters
23
  def preprocess_text(text):
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  from transformers import pipeline
3
  import re
4
+ from unidecode import unidecode
5
  import nltk
6
  nltk.download('punkt')
7
 
 
 
 
8
 
9
  # Preprocessing function: lowercasing and removing special characters
10
  def preprocess_text(text):