Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ models = {
|
|
21 |
}
|
22 |
|
23 |
# Create a dropdown to select the model
|
24 |
-
model_dropdown = gr.
|
25 |
|
26 |
# Create the input text box
|
27 |
input_text = gr.Textbox(default="Enter text here", label="Input Text")
|
|
|
21 |
}
|
22 |
|
23 |
# Create a dropdown to select the model
|
24 |
+
model_dropdown = gr.Dropdown(choices=list(models.keys()), label="Select Model")
|
25 |
|
26 |
# Create the input text box
|
27 |
input_text = gr.Textbox(default="Enter text here", label="Input Text")
|