Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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"],
|