Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,19 +58,14 @@ prompt_types = [
|
|
| 58 |
"Multi-Modal Prompt",
|
| 59 |
"Augmented Prompt"
|
| 60 |
]
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
with gr.Interface(
|
| 65 |
fn=chatbot,
|
| 66 |
-
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type", type="value")
|
| 67 |
-
inputs=gr.Textbox(lines=7, label="Prompt : Try - What is the value of pi")
|
| 68 |
outputs=gr.Textbox(lines=10,label="Response:"),
|
| 69 |
title="",
|
| 70 |
description="",
|
| 71 |
theme=gr.themes.Default(primary_hue="sky")
|
| 72 |
) as demo:
|
| 73 |
demo.launch()
|
| 74 |
-
|
| 75 |
-
|
| 76 |
demo.launch(share=True)
|
|
|
|
| 58 |
"Multi-Modal Prompt",
|
| 59 |
"Augmented Prompt"
|
| 60 |
]
|
|
|
|
|
|
|
|
|
|
| 61 |
with gr.Interface(
|
| 62 |
fn=chatbot,
|
| 63 |
+
dropdown = gr.Dropdown(choices=prompt_types, label="Select Prompt Type", type="value"),
|
| 64 |
+
inputs=gr.Textbox(lines=7, label="Prompt : Try - What is the value of pi"),
|
| 65 |
outputs=gr.Textbox(lines=10,label="Response:"),
|
| 66 |
title="",
|
| 67 |
description="",
|
| 68 |
theme=gr.themes.Default(primary_hue="sky")
|
| 69 |
) as demo:
|
| 70 |
demo.launch()
|
|
|
|
|
|
|
| 71 |
demo.launch(share=True)
|