MrAli813 commited on
Commit
eee58de
·
verified ·
1 Parent(s): f47b19a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -92,8 +92,7 @@ A1 = gr.ChatInterface(predict,
92
 
93
 
94
  A3 = gr.load(
95
- from transformers import pipeline
96
- pipe = pipeline("image-to-text", model="microsoft/kosmos-2-patch14-224"),
97
  title=" ",
98
  description="Upload Any Type of Imagery (photos, medical imagery, etc.), I'll Give You Its Description",
99
  outputs=[gr.Textbox(label="I see...")],
 
92
 
93
 
94
  A3 = gr.load(
95
+ "pipe = pipeline("image-to-text", model="microsoft/kosmos-2-patch14-224")",
 
96
  title=" ",
97
  description="Upload Any Type of Imagery (photos, medical imagery, etc.), I'll Give You Its Description",
98
  outputs=[gr.Textbox(label="I see...")],