Spaces:
Sleeping
Sleeping
ngoctuanai
commited on
Commit
•
6bb218c
1
Parent(s):
e734079
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
from datasets import load_dataset
|
3 |
-
from PIL import Image
|
4 |
-
import re
|
5 |
-
import os
|
6 |
-
import requests
|
7 |
|
8 |
-
|
9 |
|
10 |
model_id = "runwayml/stable-diffusion-v1-5"
|
11 |
device = "cuda"
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
gr.load("models/runwayml/stable-diffusion-v1-5").launch()
|
4 |
|
5 |
model_id = "runwayml/stable-diffusion-v1-5"
|
6 |
device = "cuda"
|