Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -483,7 +483,8 @@ models = [
|
|
483 |
]
|
484 |
current_model = models[0]
|
485 |
|
486 |
-
text_gen1=gr.Interface.load("spaces/
|
|
|
487 |
|
488 |
models2=[
|
489 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
@@ -1088,10 +1089,8 @@ with gr.Blocks(css=css) as myface:
|
|
1088 |
with gr.Row():
|
1089 |
with gr.Column(scale=50):
|
1090 |
input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea",lines=2)
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
def short_prompt(inputs):
|
1096 |
return(inputs)
|
1097 |
|
|
|
483 |
]
|
484 |
current_model = models[0]
|
485 |
|
486 |
+
text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend")
|
487 |
+
#text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
488 |
|
489 |
models2=[
|
490 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
|
|
1089 |
with gr.Row():
|
1090 |
with gr.Column(scale=50):
|
1091 |
input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea",lines=2)
|
1092 |
+
see_prompts=gr.Button("Extend Idea -> overwrite the contents of the `Your Prompt´ box above")
|
1093 |
+
use_short=gr.Button("Copy the contents of this box to the `Your Prompt´ box above")
|
|
|
|
|
1094 |
def short_prompt(inputs):
|
1095 |
return(inputs)
|
1096 |
|