Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
# Install Flask if not already installed
|
4 |
-
return_code = os.system('pip install flask')
|
5 |
-
if return_code != 0:
|
6 |
-
raise RuntimeError("Failed to install Flask")
|
7 |
-
|
8 |
import gradio as gr
|
9 |
from random import randint
|
10 |
from diffusers import DiffusionPipeline
|
|
|
1 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import gradio as gr
|
3 |
from random import randint
|
4 |
from diffusers import DiffusionPipeline
|