Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,9 @@ iface = gr.Interface(
|
|
8 |
inputs="text",
|
9 |
outputs="text",
|
10 |
title="Welcome to GEN3C",
|
11 |
-
|
12 |
-
|
|
|
13 |
)
|
14 |
|
15 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
8 |
inputs="text",
|
9 |
outputs="text",
|
10 |
title="Welcome to GEN3C",
|
11 |
+
allow_flagging="never", # ✅ disables flagging properly
|
12 |
+
# OR use the line below to allow flagging but save it somewhere writable
|
13 |
+
# flagging_dir="/tmp/flagged"
|
14 |
)
|
15 |
|
16 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|