Commit
Β·
a285aa8
1
Parent(s):
9c2616f
fix gradio
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: gray
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.7.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -59,7 +59,13 @@ A demo that uses GPT-4V with π€+π₯ to tell you how to be a better corporate
|
|
59 |
If you want more tips on how to be a good corporate employee visit www.stefanobaccianella.com
|
60 |
"""
|
61 |
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
gr.Markdown(WELCOME_TEXT)
|
64 |
with gr.Row():
|
65 |
webcam = gr.Image(sources=["webcam"], streaming=True, type="filepath")
|
|
|
59 |
If you want more tips on how to be a good corporate employee visit www.stefanobaccianella.com
|
60 |
"""
|
61 |
|
62 |
+
css = """
|
63 |
+
.upload-container > div:has(> .uploading) {
|
64 |
+
display: none !important;
|
65 |
+
}
|
66 |
+
"""
|
67 |
+
|
68 |
+
with gr.Blocks(css=css) as demo:
|
69 |
gr.Markdown(WELCOME_TEXT)
|
70 |
with gr.Row():
|
71 |
webcam = gr.Image(sources=["webcam"], streaming=True, type="filepath")
|