Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,11 +57,13 @@ def avatiation(pdf_url):
|
|
| 57 |
return defect_class, main_issue
|
| 58 |
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
| 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=
|
| 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 |
|