Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,10 +88,6 @@ def send_it8(inputs, model_choice):
|
|
| 88 |
return(output8)
|
| 89 |
css=""""""
|
| 90 |
|
| 91 |
-
if(magic1==""):
|
| 92 |
-
magic1=f"{prompt}"
|
| 93 |
-
return magic1
|
| 94 |
-
|
| 95 |
with gr.Blocks(css=css) as myface:
|
| 96 |
gr.HTML("""<!DOCTYPE html>
|
| 97 |
<html lang="en">
|
|
@@ -181,6 +177,9 @@ with gr.Blocks(css=css) as myface:
|
|
| 181 |
output4=gr.Image(label=(f"{current_model}"))
|
| 182 |
with gr.Row():
|
| 183 |
magic1=gr.Textbox(lines=4)
|
|
|
|
|
|
|
|
|
|
| 184 |
magic2=gr.Textbox(lines=4)
|
| 185 |
magic3=gr.Textbox(lines=4)
|
| 186 |
magic4=gr.Textbox(lines=4)
|
|
|
|
| 88 |
return(output8)
|
| 89 |
css=""""""
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
with gr.Blocks(css=css) as myface:
|
| 92 |
gr.HTML("""<!DOCTYPE html>
|
| 93 |
<html lang="en">
|
|
|
|
| 177 |
output4=gr.Image(label=(f"{current_model}"))
|
| 178 |
with gr.Row():
|
| 179 |
magic1=gr.Textbox(lines=4)
|
| 180 |
+
if(magic1==""):
|
| 181 |
+
magic1=f"{prompt}"
|
| 182 |
+
return magic1
|
| 183 |
magic2=gr.Textbox(lines=4)
|
| 184 |
magic3=gr.Textbox(lines=4)
|
| 185 |
magic4=gr.Textbox(lines=4)
|