anupam210 commited on
Commit
f9a17d6
1 Parent(s): 99c2b2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -57,11 +57,13 @@ def avatiation(pdf_url):
57
  return defect_class, main_issue
58
 
59
 
60
- inputs = gr.inputs.Textbox(label="Link for aviation log reports")
 
 
61
 
62
  outputs = [gr.outputs.Textbox(label="Main Issue of the log report"),
63
  gr.outputs.Textbox(label="category of the log report")]
64
 
65
- demo = gr.Interface(fn=avatiation,inputs=inputs,outputs=outputs, title="ATA Auto classification using OCR and GPT3 ")
66
  demo.launch()
67
 
 
57
  return defect_class, main_issue
58
 
59
 
60
+ inputs1 = gr.inputs.Textbox(label="Link for aviation log reports")
61
+ inputs2 = gr.inputs.Textbox(label="Link for aviation log reports 2")
62
+
63
 
64
  outputs = [gr.outputs.Textbox(label="Main Issue of the log report"),
65
  gr.outputs.Textbox(label="category of the log report")]
66
 
67
+ demo = gr.Interface(fn=avatiation,inputs=[inputs1,inouts2],outputs=outputs, title="ATA Auto classification using OCR and GPT3 ")
68
  demo.launch()
69