sohoso commited on
Commit
4b6e0c6
·
verified ·
1 Parent(s): f94ed24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import subprocess
4
  import sys
5
 
6
  subprocess.check_call([sys.executable, "-m", "pip", "install", "pyperclip"])
 
7
 
8
  import google.generativeai as genai
9
  import gradio as gr
@@ -121,4 +122,4 @@ app = gr.Interface(
121
  theme=gr.themes.Soft()
122
  )
123
 
124
- app.launch()
 
4
  import sys
5
 
6
  subprocess.check_call([sys.executable, "-m", "pip", "install", "pyperclip"])
7
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade", "gradio"])
8
 
9
  import google.generativeai as genai
10
  import gradio as gr
 
122
  theme=gr.themes.Soft()
123
  )
124
 
125
+ app.launch(share=True)