Abdelmageed commited on
Commit
29fb393
1 Parent(s): fb8a456
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -104,14 +104,14 @@ example2 = """With complexity of oil & gas equipment and the seriousness of fail
104
 
105
  example3 = """ Part of our people development strategy is providing our senior leadership with the latest industry technologies
106
  and world class practices and standards"""
107
- txt , generated_caption , im = demo_smg( company_name, description , example1 , example2 , example3)
108
 
109
- print(txt)
110
- print(generated_caption)
111
 
112
- # demo = gr.Interface(
113
- # fn= demo_smg,
114
- # inputs=["text","text" , "text" ,"text" ,"text"],
115
- # outputs=["text", "text", "image" ]
116
- # )
117
- # demo.launch(share=True)
 
104
 
105
  example3 = """ Part of our people development strategy is providing our senior leadership with the latest industry technologies
106
  and world class practices and standards"""
107
+ # txt , generated_caption , im = demo_smg( company_name, description , example1 , example2 , example3)
108
 
109
+ # print(txt)
110
+ # print(generated_caption)
111
 
112
+ demo = gr.Interface(
113
+ fn= demo_smg,
114
+ inputs=["text","text" , "text" ,"text" ,"text"],
115
+ outputs=["text", "text", "image" ]
116
+ )
117
+ demo.launch(share=True)