Spaces:
Runtime error
Runtime error
ritwikbiswas
commited on
Commit
•
9d31209
1
Parent(s):
1977e30
new toggle
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def generate_prompt(radio,word1,word2):
|
|
39 |
demo = gr.Interface(
|
40 |
generate_prompt,
|
41 |
[
|
42 |
-
gr.Radio(["normal", "
|
43 |
gr.Textbox(label="Word 1"),
|
44 |
gr.Textbox(label="Word 2")
|
45 |
# gr.Dropdown(team_list, value=[team_list[random.randint(1,30)]], multiselect=True),
|
|
|
39 |
demo = gr.Interface(
|
40 |
generate_prompt,
|
41 |
[
|
42 |
+
gr.Radio(["normal", "very insulting"],value='normal',label="Flavor"),
|
43 |
gr.Textbox(label="Word 1"),
|
44 |
gr.Textbox(label="Word 2")
|
45 |
# gr.Dropdown(team_list, value=[team_list[random.randint(1,30)]], multiselect=True),
|