Spaces:
Running
Running
Commit
·
85ebbdc
1
Parent(s):
c7b889d
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import logging
|
| 2 |
import gradio as gr
|
| 3 |
import fitz # PyMuPDF
|
|
@@ -5,6 +8,8 @@ from transformers import BartTokenizer, BartForConditionalGeneration, pipeline
|
|
| 5 |
import scipy.io.wavfile
|
| 6 |
import numpy as np
|
| 7 |
|
|
|
|
|
|
|
| 8 |
# Initialize logging
|
| 9 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
|
| 10 |
|
|
|
|
| 1 |
+
# https://huggingface.co/spaces/amendolajine/OPIT
|
| 2 |
+
|
| 3 |
+
# Here are the imports
|
| 4 |
import logging
|
| 5 |
import gradio as gr
|
| 6 |
import fitz # PyMuPDF
|
|
|
|
| 8 |
import scipy.io.wavfile
|
| 9 |
import numpy as np
|
| 10 |
|
| 11 |
+
# Here is the code
|
| 12 |
+
|
| 13 |
# Initialize logging
|
| 14 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
|
| 15 |
|