turn flagging of in gadio
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ def generate_code(prompt):
|
|
| 14 |
|
| 15 |
# Create the Gradio interface
|
| 16 |
iface = gr.Interface(
|
|
|
|
|
|
|
| 17 |
fn=generate_code,
|
| 18 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
| 19 |
outputs=gr.Textbox(label="Generated Code"),
|
|
|
|
| 14 |
|
| 15 |
# Create the Gradio interface
|
| 16 |
iface = gr.Interface(
|
| 17 |
+
#flagging of bc of bug
|
| 18 |
+
allow_flagging="never",
|
| 19 |
fn=generate_code,
|
| 20 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
| 21 |
outputs=gr.Textbox(label="Generated Code"),
|