Kuberwastaken commited on
Commit
270bfd7
·
1 Parent(s): 24aa2f9

fixing app script

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -290,15 +290,12 @@ with gr.Blocks(theme=theme, css=css) as iface:
290
  file_input = gr.File(
291
  label="Upload Syllabus JSON",
292
  file_types=[".json"],
293
- file_count="single"
294
  )
295
  process_btn = gr.Button("🪄 Format Syllabus", variant="primary")
296
 
297
  output_file = gr.File(
298
- label="Download Formatted Syllabus",
299
- file_count="single",
300
- type="file",
301
- interactive=False
302
  )
303
 
304
  with gr.Row():
 
290
  file_input = gr.File(
291
  label="Upload Syllabus JSON",
292
  file_types=[".json"],
293
+ type="binary" # Use binary type for file upload
294
  )
295
  process_btn = gr.Button("🪄 Format Syllabus", variant="primary")
296
 
297
  output_file = gr.File(
298
+ label="Download Formatted Syllabus"
 
 
 
299
  )
300
 
301
  with gr.Row():