devopsmarc commited on
Commit
cbdd13d
1 Parent(s): c9439c2

Adjusting Template

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -59,7 +59,12 @@ def summarize(input):
59
 
60
  import gradio as gr
61
  gr.close_all()
62
- demo = gr.Interface(fn=summarize, inputs="file", outputs="text",title="Experiences And Skills Extraction From PDF file with gpt-3.5-turbo")
 
 
 
 
 
63
  demo.launch()
64
 
65
  #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
59
 
60
  import gradio as gr
61
  gr.close_all()
62
+ demo = gr.Interface(
63
+ fn=summarize,
64
+ inputs=gr.components.File(label="Insérer votre fichier ici comme une lettre au Père Noël"),
65
+ outputs=gr.components.Textbox(label="Et bam! Voici plus chaud qu'une baguette"),
66
+ title="Pompage d'Expériences et de Compétences",
67
+ description="Balance ton CV ici, comme un rockstar jette son micro")
68
  demo.launch()
69
 
70
  #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++