JoPmt commited on
Commit
23b7fa1
1 Parent(s): a8b32c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.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)
 
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.MultimodalTextbox(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)