Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|