SMD00 commited on
Commit
447243e
·
1 Parent(s): 3dedb4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -370,7 +370,7 @@ def main_func(filepath):
370
  title = "PicSum"
371
  description = "Gradio demo for PicSum project. You can give an image as input on the left side and then click on the submit button. The generated text, summary, important sentences and fill in the gaps would be generated on the right side."
372
  gr.Interface(
373
- extract,
374
  [gr.inputs.Image(type="filepath", label="Input"),gr.inputs.CheckboxGroup(choices, type="value", default=['Generate text'], label='Options') ],
375
  [gr.outputs.Textbox(label="Generated Text"),"image"],
376
  title=title,
 
370
  title = "PicSum"
371
  description = "Gradio demo for PicSum project. You can give an image as input on the left side and then click on the submit button. The generated text, summary, important sentences and fill in the gaps would be generated on the right side."
372
  gr.Interface(
373
+ main_func,
374
  [gr.inputs.Image(type="filepath", label="Input"),gr.inputs.CheckboxGroup(choices, type="value", default=['Generate text'], label='Options') ],
375
  [gr.outputs.Textbox(label="Generated Text"),"image"],
376
  title=title,