Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ prompt_types = [
|
|
| 70 |
]
|
| 71 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="sky")) as promptengineering:
|
| 72 |
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type:", type="value")
|
| 73 |
-
inputs = gr.Textbox(lines=7, placeholder="Prompt : Try - What is the value of pi")
|
| 74 |
-
outputs = gr.Textbox(label="
|
| 75 |
gr.Interface(fn=chatbot, inputs=[dropdown,inputs], outputs=outputs)
|
| 76 |
promptengineering.launch(share=True)
|
|
|
|
| 70 |
]
|
| 71 |
with gr.Blocks(theme=gr.themes.Default(primary_hue="sky")) as promptengineering:
|
| 72 |
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type:", type="value")
|
| 73 |
+
inputs = gr.Textbox(lines=7, label ="",placeholder="Prompt : Try - What is the value of pi")
|
| 74 |
+
outputs = gr.Textbox(label="Response:")
|
| 75 |
gr.Interface(fn=chatbot, inputs=[dropdown,inputs], outputs=outputs)
|
| 76 |
promptengineering.launch(share=True)
|