Youssouf Traore
commited on
Commit
·
bdd283c
1
Parent(s):
43e14eb
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
title = "Mariam 💎"
|
|
|
4 |
|
|
|
5 |
#app 1
|
6 |
|
7 |
import requests
|
@@ -65,6 +67,6 @@ app1 = gr.Interface(fn = infer,title="Mariam -Ocr ", inputs=[gr.Image(type="pil
|
|
65 |
|
66 |
app2 = gr.Interface(fn = gpt, inputs=gr.Textbox(label="Question:",lines=8), outputs=gr.Textbox())
|
67 |
|
68 |
-
demo = gr.TabbedInterface([app1, app2], ["OCR", "MARIAM-u"])
|
69 |
|
70 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
import openai
|
3 |
title = "Mariam 💎"
|
4 |
+
description = """" Banana Banana ? 👀 bon ok ok. Bref comme vous le voyez c'est simple ! Pas besoin d'explication. C'est un script simple, c'est basé sur néoX, python, et gradio.
|
5 |
|
6 |
+
Mon numéro : +24165362371"""
|
7 |
#app 1
|
8 |
|
9 |
import requests
|
|
|
67 |
|
68 |
app2 = gr.Interface(fn = gpt, inputs=gr.Textbox(label="Question:",lines=8), outputs=gr.Textbox())
|
69 |
|
70 |
+
demo = gr.TabbedInterface([app1, app2], ["OCR", "MARIAM-u"],description=description)
|
71 |
|
72 |
demo.launch()
|