Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -126,9 +126,9 @@ iface = gr.Interface(
|
|
126 |
on growing your business!""", # Article text
|
127 |
thumbnail="https://assets.bigcartel.com/theme_images/101321509/IMG_6002.png", # Thumbnail image URL
|
128 |
favicon_path="https://assets.bigcartel.com/theme_images/101321509/IMG_6002.png", # Favicon image URL
|
129 |
-
allow_flagging=
|
130 |
flagging_options:["Incorrect"],
|
131 |
-
flagging_callback=hf_writer
|
132 |
)
|
133 |
|
134 |
# Launch the interface with authentication
|
|
|
126 |
on growing your business!""", # Article text
|
127 |
thumbnail="https://assets.bigcartel.com/theme_images/101321509/IMG_6002.png", # Thumbnail image URL
|
128 |
favicon_path="https://assets.bigcartel.com/theme_images/101321509/IMG_6002.png", # Favicon image URL
|
129 |
+
allow_flagging=manual, # Enable flagging with manual control
|
130 |
flagging_options:["Incorrect"],
|
131 |
+
flagging_callback=hf_writer()
|
132 |
)
|
133 |
|
134 |
# Launch the interface with authentication
|