Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,7 @@ import io
|
|
8 |
import base64
|
9 |
import os
|
10 |
import os
|
11 |
-
|
12 |
-
os.system("pip install gradio==3.10.1")
|
13 |
import sys
|
14 |
|
15 |
import numpy as np
|
@@ -774,8 +773,8 @@ def run_outpaint(
|
|
774 |
base64_str = base64_bytes.decode("ascii")
|
775 |
base64_str_lst.append(base64_str)
|
776 |
return (
|
777 |
-
gr.
|
778 |
-
gr.
|
779 |
state + 1,
|
780 |
)
|
781 |
|
|
|
8 |
import base64
|
9 |
import os
|
10 |
import os
|
11 |
+
|
|
|
12 |
import sys
|
13 |
|
14 |
import numpy as np
|
|
|
773 |
base64_str = base64_bytes.decode("ascii")
|
774 |
base64_str_lst.append(base64_str)
|
775 |
return (
|
776 |
+
gr.Textbox(label=str(state + 1), value=",".join(base64_str_lst),),
|
777 |
+
gr.Textbox(label="Prompt"),
|
778 |
state + 1,
|
779 |
)
|
780 |
|