adrin merve HF staff commited on
Commit
ae84962
·
1 Parent(s): d1e9c7d

move api_name to upload (#2)

Browse files

- move api_name to upload (a9e5a7763289a043c240bf43eef43003470ce6f1)


Co-authored-by: Merve Noyan <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,6 @@ with gr.Blocks(title=title) as iface:
70
  "Click to Upload a File",
71
  file_types=None,
72
  file_count="single",
73
- api_name="upload-file"
74
  )
75
  file_output = gr.File(label="Converted File")
76
  upload_button.upload(
@@ -81,6 +80,7 @@ with gr.Blocks(title=title) as iface:
81
  gr.Text(label="Unknown Types"),
82
  gr.Text(label="Errors and Warnings"),
83
  ],
 
84
  )
85
 
86
 
 
70
  "Click to Upload a File",
71
  file_types=None,
72
  file_count="single",
 
73
  )
74
  file_output = gr.File(label="Converted File")
75
  upload_button.upload(
 
80
  gr.Text(label="Unknown Types"),
81
  gr.Text(label="Errors and Warnings"),
82
  ],
83
+ api_name="upload-file"
84
  )
85
 
86