Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,5 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="sky")) as demo:
|
|
| 62 |
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type", type="value")
|
| 63 |
inputs = gr.Textbox(lines=7, label="Prompt : Try - What is the value of pi")
|
| 64 |
outputs = gr.Textbox(label="Result")
|
| 65 |
-
gr.Interface(fn=chatbot, inputs=[inputs, dropdown], outputs=outputs
|
| 66 |
-
)
|
| 67 |
demo.launch(share=True)
|
|
|
|
| 62 |
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type", type="value")
|
| 63 |
inputs = gr.Textbox(lines=7, label="Prompt : Try - What is the value of pi")
|
| 64 |
outputs = gr.Textbox(label="Result")
|
| 65 |
+
gr.Interface(fn=chatbot, inputs=[inputs, dropdown], outputs=outputs)
|
|
|
|
| 66 |
demo.launch(share=True)
|