ramalMr commited on
Commit
6d388f2
·
verified ·
1 Parent(s): 33f2163

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -68,6 +68,7 @@ gr.ChatInterface(
68
  gr.Textbox(label="Prompt"),
69
  gr.Textbox(label="History", placeholder="User1: Hello\nBot: Hi there!\nUser1: How are you?"),
70
  gr.Textbox(label="System Prompt"),
 
71
  ],
72
  outputs=gr.Textbox(label="Response"),
73
  title="Synthetic-data-generation-aze",
@@ -82,3 +83,4 @@ gr.ChatInterface(
82
  flagging_options=["Inappropriate", "Incorrect", "Offensive"],
83
  thumbs=None,
84
  ).launch()
 
 
68
  gr.Textbox(label="Prompt"),
69
  gr.Textbox(label="History", placeholder="User1: Hello\nBot: Hi there!\nUser1: How are you?"),
70
  gr.Textbox(label="System Prompt"),
71
+ gr.File(label="Upload CSV or Document", type="binary"), # Max file size is 2 GB
72
  ],
73
  outputs=gr.Textbox(label="Response"),
74
  title="Synthetic-data-generation-aze",
 
83
  flagging_options=["Inappropriate", "Incorrect", "Offensive"],
84
  thumbs=None,
85
  ).launch()
86
+