Ahmed235 commited on
Commit
44e21a6
·
verified ·
1 Parent(s): 33402d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,8 +1,3 @@
1
- from pptx import Presentation
2
- import re
3
- from transformers import pipeline
4
- import subprocess
5
- import gradio as gr
6
 
7
  # Install necessary libraries
8
  libraries = [
@@ -17,6 +12,12 @@ for library in libraries:
17
  except subprocess.CalledProcessError as e:
18
  print(f"Error installing {library}: {e}")
19
 
 
 
 
 
 
 
20
  def extract_text_from_pptx(file_path):
21
  presentation = Presentation(file_path)
22
 
 
 
 
 
 
 
1
 
2
  # Install necessary libraries
3
  libraries = [
 
12
  except subprocess.CalledProcessError as e:
13
  print(f"Error installing {library}: {e}")
14
 
15
+ from pptx import Presentation
16
+ import re
17
+ from transformers import pipeline
18
+ import subprocess
19
+ import gradio as gr
20
+
21
  def extract_text_from_pptx(file_path):
22
  presentation = Presentation(file_path)
23