Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
•
28d2a3a
1
Parent(s):
7460c74
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,10 @@
|
|
|
|
1 |
from PIL import Image
|
2 |
import torch
|
3 |
import gradio as gr
|
4 |
|
|
|
|
|
5 |
model2 = torch.hub.load(
|
6 |
"AK391/animegan2-pytorch:main",
|
7 |
"generator",
|
|
|
1 |
+
import os
|
2 |
from PIL import Image
|
3 |
import torch
|
4 |
import gradio as gr
|
5 |
|
6 |
+
os.system("pip install gradio==2.5.3")
|
7 |
+
|
8 |
model2 = torch.hub.load(
|
9 |
"AK391/animegan2-pytorch:main",
|
10 |
"generator",
|