Youssouf Traore
commited on
Commit
·
34b20ac
1
Parent(s):
5f6428d
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def gpt(prompt):
|
|
63 |
app1 = gr.Interface(fn = infer,title="Mariam -Ocr ", inputs=[gr.Image(type="pil")], outputs=["text"])
|
64 |
#interface 2
|
65 |
|
66 |
-
app2 = gr.Interface(fn = gpt, inputs=gr.
|
67 |
|
68 |
demo = gr.TabbedInterface([app1, app2], ["Welcome", "What to do"])
|
69 |
|
|
|
63 |
app1 = gr.Interface(fn = infer,title="Mariam -Ocr ", inputs=[gr.Image(type="pil")], outputs=["text"])
|
64 |
#interface 2
|
65 |
|
66 |
+
app2 = gr.Interface(fn = gpt, inputs=gr.Textbox(label="Question:",lines=8), outputs=gr.Textbox())
|
67 |
|
68 |
demo = gr.TabbedInterface([app1, app2], ["Welcome", "What to do"])
|
69 |
|