salemamassi commited on
Commit
1b68aaf
·
1 Parent(s): b5fb503

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -45,17 +45,6 @@ chat_interface = gr.ChatInterface(
45
  )
46
 
47
 
48
- upload_interface = gr.Interface(
49
- fn=load_file,
50
- inputs=[
51
- gr.File(label="Upload a PDF",file_types=["pdf"]),
52
- ],
53
- outputs="text",
54
- title="PDF Question Answering",
55
- description="Upload a PDF, enter a question, and get an answer from the model.",
56
- theme=gr.themes.Soft()
57
- )
58
-
59
 
60
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
61
  with gr.Row():
 
45
  )
46
 
47
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
50
  with gr.Row():