jcockhren commited on
Commit
e9abe27
·
verified ·
1 Parent(s): 3a16d68

use file upload wdget

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,6 +31,7 @@ def query(filename, provider='openai'):
31
 
32
 
33
  demo = gr.Interface(
34
- gr.Dropdown(choices=["First Choice", "Second Choice", "Third Choice"]),
 
35
  "text")
36
  demo.launch()
 
31
 
32
 
33
  demo = gr.Interface(
34
+ query,
35
+ "file",
36
  "text")
37
  demo.launch()