Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,8 @@ def generate_text(prompt):
|
|
| 28 |
return f"Error: {response.status_code} - {response.text}"
|
| 29 |
|
| 30 |
|
| 31 |
-
description = "This is a text generation tool powered by the
|
| 32 |
-
title = "
|
| 33 |
|
| 34 |
api = gr.Interface(
|
| 35 |
fn=generate_text,
|
|
|
|
| 28 |
return f"Error: {response.status_code} - {response.text}"
|
| 29 |
|
| 30 |
|
| 31 |
+
description = "This is a text generation tool powered by the DeepSeek R1 model via Hugging Face's API. Enter your prompt and click Generate to see the model's response."
|
| 32 |
+
title = "DeepSeek R1 Text Generation Interface"
|
| 33 |
|
| 34 |
api = gr.Interface(
|
| 35 |
fn=generate_text,
|