Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,10 @@ import re
|
|
15 |
from gradio_client import Client
|
16 |
from fake_useragent import UserAgent
|
17 |
import random
|
|
|
|
|
|
|
|
|
18 |
|
19 |
|
20 |
def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed, width, height):
|
|
|
15 |
from gradio_client import Client
|
16 |
from fake_useragent import UserAgent
|
17 |
import random
|
18 |
+
from theme import theme
|
19 |
+
from fastapi import FastAPI
|
20 |
+
|
21 |
+
app = FastAPI()
|
22 |
|
23 |
|
24 |
def flip_text(prompt, negative_prompt, task, steps, sampler, cfg_scale, seed, width, height):
|