fahmifauzi commited on
Commit
999f902
·
verified ·
1 Parent(s): 89cc902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ import gradio as gr
27
  gr.close_all()
28
  demo = gr.Interface(fn=generate_text,
29
  inputs=[gr.Textbox(label="Prompt", lines=5, placeholder="Enter your text here...")],
30
- outputs=[gr.Textbox(label="Generated Text", lines=5, placeholder="Result")],
31
  title="Text Generator",
32
  description="Text generation using `mistralai/Mistral-7B-Instruct-v0.1` model.",
33
  examples=["I like ice cream", "That cat is cute"],
 
27
  gr.close_all()
28
  demo = gr.Interface(fn=generate_text,
29
  inputs=[gr.Textbox(label="Prompt", lines=5, placeholder="Enter your text here...")],
30
+ outputs=[gr.Textbox(label="Generated Text", lines=5)],
31
  title="Text Generator",
32
  description="Text generation using `mistralai/Mistral-7B-Instruct-v0.1` model.",
33
  examples=["I like ice cream", "That cat is cute"],