Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def plix(inut, progress=gr.Progress(track_tqdm=True)):
|
|
104 |
goose=reagent.run(inut)
|
105 |
return goose
|
106 |
with gr.Blocks(theme=random.choice([gr.themes.Monochrome(),gr.themes.Base.from_hub("gradio/seafoam"),gr.themes.Base.from_hub("freddyaboulton/dracula_revamped"),gr.themes.Glass(),gr.themes.Base(),]),analytics_enabled=False) as iface:
|
107 |
-
out=gr.
|
108 |
inut=gr.Textbox(label="Prompt")
|
109 |
btn=gr.Button("GENERATE")
|
110 |
btn.click(fn=plix,inputs=inut,outputs=out)
|
|
|
104 |
goose=reagent.run(inut)
|
105 |
return goose
|
106 |
with gr.Blocks(theme=random.choice([gr.themes.Monochrome(),gr.themes.Base.from_hub("gradio/seafoam"),gr.themes.Base.from_hub("freddyaboulton/dracula_revamped"),gr.themes.Glass(),gr.themes.Base(),]),analytics_enabled=False) as iface:
|
107 |
+
out=gr.Textbox(label="🤗Output",lines=5,interactive=False)
|
108 |
inut=gr.Textbox(label="Prompt")
|
109 |
btn=gr.Button("GENERATE")
|
110 |
btn.click(fn=plix,inputs=inut,outputs=out)
|