Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import spaces
|
2 |
from datasets import load_dataset
|
3 |
import gradio as gr
|
4 |
from gradio_client import Client
|
@@ -55,7 +55,7 @@ def get_random_world_description():
|
|
55 |
def get_random_persona_description():
|
56 |
return ds.shuffle().select([100])[0]["persona"]
|
57 |
|
58 |
-
@spaces.GPU(duration=75)
|
59 |
def infer_flux(character_json):
|
60 |
for image in pipe.flux_pipe_call_that_returns_an_iterable_of_images(
|
61 |
prompt=character_json["appearance"],
|
|
|
1 |
+
# import spaces
|
2 |
from datasets import load_dataset
|
3 |
import gradio as gr
|
4 |
from gradio_client import Client
|
|
|
55 |
def get_random_persona_description():
|
56 |
return ds.shuffle().select([100])[0]["persona"]
|
57 |
|
58 |
+
# @spaces.GPU(duration=75)
|
59 |
def infer_flux(character_json):
|
60 |
for image in pipe.flux_pipe_call_that_returns_an_iterable_of_images(
|
61 |
prompt=character_json["appearance"],
|