Spaces:
Runtime error
Runtime error
Commit
·
d8c6c29
1
Parent(s):
0661369
app.py
CHANGED
@@ -2,7 +2,6 @@ import os
|
|
2 |
import gradio as gr
|
3 |
from stability_sdk.api import Context
|
4 |
from stability_sdk.animation import AnimationArgs, Animator
|
5 |
-
|
6 |
from dotenv import load_dotenv
|
7 |
|
8 |
load_dotenv(".env")
|
@@ -17,8 +16,6 @@ context = Context(STABILITY_HOST, STABILITY_KEY)
|
|
17 |
context.get_user_info()
|
18 |
print("Connection successfuly!")
|
19 |
|
20 |
-
outputs_path = r'C:\Work\tst\SAnim'
|
21 |
-
|
22 |
def anim(f_promt, s_promt):
|
23 |
# Configure the animation
|
24 |
args = AnimationArgs()
|
|
|
2 |
import gradio as gr
|
3 |
from stability_sdk.api import Context
|
4 |
from stability_sdk.animation import AnimationArgs, Animator
|
|
|
5 |
from dotenv import load_dotenv
|
6 |
|
7 |
load_dotenv(".env")
|
|
|
16 |
context.get_user_info()
|
17 |
print("Connection successfuly!")
|
18 |
|
|
|
|
|
19 |
def anim(f_promt, s_promt):
|
20 |
# Configure the animation
|
21 |
args = AnimationArgs()
|