Raghav001 commited on
Commit
4a4cf55
·
1 Parent(s): f4329a9

Trying to revert

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -177,7 +177,7 @@ def up_file(fls):
177
  #pptx Extracting
178
  for i in pptx:
179
  loader = UnstructuredPowerPointLoader(i)
180
- data = loader.load()
181
  # content = str(data).split("'")
182
  # cnt = content[1]
183
  # # c = cnt.split('\\n\\n')
@@ -190,7 +190,7 @@ def up_file(fls):
190
  #Doc Extracting
191
  for i in docs:
192
  loader = UnstructuredWordDocumentLoader(i)
193
- data = loader.load()
194
  # content = str(data).split("'")
195
  # cnt = content[1]
196
  # # c = cnt.split('\\n\\n')
@@ -219,7 +219,7 @@ def up_file(fls):
219
 
220
 
221
 
222
- with gr.Blocks(css=".gradio-container {background-color: grey}") as demo:
223
  with gr.Row():
224
  with gr.Column():
225
  file = gr.File(file_types=['.pptx','.docx','.pdf'], label='Click to upload Document', file_count='multiple')
 
177
  #pptx Extracting
178
  for i in pptx:
179
  loader = UnstructuredPowerPointLoader(i)
180
+ # data = loader.load()
181
  # content = str(data).split("'")
182
  # cnt = content[1]
183
  # # c = cnt.split('\\n\\n')
 
190
  #Doc Extracting
191
  for i in docs:
192
  loader = UnstructuredWordDocumentLoader(i)
193
+ # data = loader.load()
194
  # content = str(data).split("'")
195
  # cnt = content[1]
196
  # # c = cnt.split('\\n\\n')
 
219
 
220
 
221
 
222
+ with gr.Blocks(css=".gradio-container {background: url('file= https://th.bing.com/th/id/OIP.VixxfZq3hIYiX_DGd3knTwHaEK?pid=ImgDet&rs=1')}") as demo:
223
  with gr.Row():
224
  with gr.Column():
225
  file = gr.File(file_types=['.pptx','.docx','.pdf'], label='Click to upload Document', file_count='multiple')