mangiucugna commited on
Commit
a285aa8
Β·
1 Parent(s): 9c2616f

fix gradio

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +7 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ†
4
  colorFrom: gray
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.1.2
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
- with gr.Blocks() as demo:
 
 
 
 
 
 
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")