Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,8 +41,8 @@ def refine_prompt(user_prompt, model_name):
|
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=refine_prompt,
|
| 43 |
inputs=[
|
| 44 |
-
gr.
|
| 45 |
-
gr.
|
| 46 |
],
|
| 47 |
outputs="text",
|
| 48 |
title="Prompt Refinement Tool",
|
|
|
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=refine_prompt,
|
| 43 |
inputs=[
|
| 44 |
+
gr.Textbox(label="User Prompt", placeholder="Enter your prompt here..."),
|
| 45 |
+
gr.Textbox(label="Model Name", placeholder="Enter Hugging Face model name (e.g., gpt2, distilgpt2)...")
|
| 46 |
],
|
| 47 |
outputs="text",
|
| 48 |
title="Prompt Refinement Tool",
|