Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,8 @@ def predict(input_text):
|
|
| 16 |
# Create the Gradio interface
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=predict,
|
| 19 |
-
inputs=gr.
|
| 20 |
-
outputs=gr.
|
| 21 |
title="DeepSeek-R1-Distill-Qwen-1.5B Text Generation",
|
| 22 |
description="Enter text and the model will generate a continuation.",
|
| 23 |
)
|
|
|
|
| 16 |
# Create the Gradio interface
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=predict,
|
| 19 |
+
inputs=[gr.Textbox(lines=5, label="Input Text")],
|
| 20 |
+
outputs=[gr.Textbox(label="Generated Text")],
|
| 21 |
title="DeepSeek-R1-Distill-Qwen-1.5B Text Generation",
|
| 22 |
description="Enter text and the model will generate a continuation.",
|
| 23 |
)
|