roll-ai commited on
Commit
238748e
·
verified ·
1 Parent(s): eecbd62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -5,9 +5,11 @@ def greet(name):
5
 
6
  iface = gr.Interface(
7
  fn=greet,
8
- inputs=gr.Textbox(label="Enter your name"),
9
- outputs=gr.Textbox(label="Greeting"),
10
- title="Simple Gradio App"
 
 
11
  )
12
 
13
  iface.launch(server_name="0.0.0.0", server_port=7860)
 
5
 
6
  iface = gr.Interface(
7
  fn=greet,
8
+ inputs="text",
9
+ outputs="text",
10
+ title="Welcome to GEN3C",
11
+ flagging_dir="/tmp/flagged", # ✅ use writable location
12
+ flagging_callback="none" # ✅ or disable flagging entirely
13
  )
14
 
15
  iface.launch(server_name="0.0.0.0", server_port=7860)