Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,10 @@ def send_it8(inputs, model_choice):
|
|
86 |
proc8=models2[model_choice]
|
87 |
output8=proc8(inputs)
|
88 |
return(output8)
|
|
|
|
|
|
|
|
|
89 |
css=""""""
|
90 |
|
91 |
with gr.Blocks(css=css) as myface:
|
@@ -218,7 +222,7 @@ with gr.Blocks(css=css) as myface:
|
|
218 |
run.click(send_it5, inputs=[magic1, model_name1], outputs=[output5])
|
219 |
run.click(send_it6, inputs=[magic1, model_name1], outputs=[output6])
|
220 |
run.click(send_it7, inputs=[magic1, model_name1], outputs=[output7])
|
221 |
-
run.click(send_it8, inputs=[
|
222 |
|
223 |
use_short.click(short_prompt,inputs=[magic1],outputs=magic1)
|
224 |
use_short.click(short_prompt,inputs=[magic1],outputs=magic1)
|
|
|
86 |
proc8=models2[model_choice]
|
87 |
output8=proc8(inputs)
|
88 |
return(output8)
|
89 |
+
|
90 |
+
def magic8(magic1):
|
91 |
+
magic8=magic1
|
92 |
+
return(magic8)
|
93 |
css=""""""
|
94 |
|
95 |
with gr.Blocks(css=css) as myface:
|
|
|
222 |
run.click(send_it5, inputs=[magic1, model_name1], outputs=[output5])
|
223 |
run.click(send_it6, inputs=[magic1, model_name1], outputs=[output6])
|
224 |
run.click(send_it7, inputs=[magic1, model_name1], outputs=[output7])
|
225 |
+
run.click(send_it8, inputs=[magic8, model_name1], outputs=[output8])
|
226 |
|
227 |
use_short.click(short_prompt,inputs=[magic1],outputs=magic1)
|
228 |
use_short.click(short_prompt,inputs=[magic1],outputs=magic1)
|