itsmariamaraki commited on
Commit
97e5aa2
β€’
1 Parent(s): d80f80b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,6 +12,7 @@ import soundfile as sf
12
  from IPython.display import Audio
13
  from datasets import load_dataset
14
  from io import BytesIO
 
15
 
16
  # Here is the code
17
 
@@ -65,7 +66,6 @@ iface = gr.Interface(
65
  ],
66
  title = "PDF's Abstract Summarization & Audio Speech Processor",
67
  description = "App that generates a one-line summary of the abstract & a speech audio of this summarization -- requirements: app only accepts PDFs which include an ABSTRACT section",
68
- #examples = ['The_Future_of_AI_is_Hybrid.pdf', 'Efficient_Estimation_of_Word_Representations.pdf', 'Hidden_Technical_Debt.pdf']
69
  examples = [os.path.join(os.path.dirname(__file__), 'The_Future_of_AI_is_Hybrid.pdf', 'Efficient_Estimation_of_Word_Representations.pdf', 'Hidden_Technical_Debt.pdf')],
70
  cache_examples = True
71
  )
 
12
  from IPython.display import Audio
13
  from datasets import load_dataset
14
  from io import BytesIO
15
+ import os
16
 
17
  # Here is the code
18
 
 
66
  ],
67
  title = "PDF's Abstract Summarization & Audio Speech Processor",
68
  description = "App that generates a one-line summary of the abstract & a speech audio of this summarization -- requirements: app only accepts PDFs which include an ABSTRACT section",
 
69
  examples = [os.path.join(os.path.dirname(__file__), 'The_Future_of_AI_is_Hybrid.pdf', 'Efficient_Estimation_of_Word_Representations.pdf', 'Hidden_Technical_Debt.pdf')],
70
  cache_examples = True
71
  )