lingadevaruhp commited on
Commit
f28fe9e
·
verified ·
1 Parent(s): 97aef11

Fix Gradio compatibility by removing unsupported show_clear_button arguments

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -109,16 +109,14 @@ iface = gr.Interface(
109
  gr.Textbox(
110
  label="Your message",
111
  placeholder="Type your message here...",
112
- lines=4,
113
- show_clear_button=True
114
  ),
115
  gr.Slider(minimum=10, maximum=200, value=100, label="Max New Tokens")
116
  ],
117
  outputs=gr.Textbox(
118
  label="AI Response",
119
  lines=10,
120
- show_copy_button=True,
121
- show_clear_button=True
122
  ),
123
  title="thoshan_Flash (Updated with JSONL Dataset)",
124
  description="Chat with AI powered by thoshan_Flash and the new flirt_dataset.jsonl dataset!"
 
109
  gr.Textbox(
110
  label="Your message",
111
  placeholder="Type your message here...",
112
+ lines=4
 
113
  ),
114
  gr.Slider(minimum=10, maximum=200, value=100, label="Max New Tokens")
115
  ],
116
  outputs=gr.Textbox(
117
  label="AI Response",
118
  lines=10,
119
+ show_copy_button=True
 
120
  ),
121
  title="thoshan_Flash (Updated with JSONL Dataset)",
122
  description="Chat with AI powered by thoshan_Flash and the new flirt_dataset.jsonl dataset!"