shayanSolSameed commited on
Commit
5c0545e
·
1 Parent(s): e9f7ef4

Update gradio_chatwithpdf.py

Browse files
Files changed (1) hide show
  1. gradio_chatwithpdf.py +7 -5
gradio_chatwithpdf.py CHANGED
@@ -45,9 +45,11 @@ def askPDF(upload_PDF, prompt):
45
 
46
 
47
  # gradio deployment
48
- demo = gradio.Interface(fn=askPDF,
49
- inputs=[gradio.File(file_types=['.pdf']), 'text'],
50
- outputs="text",
51
- )
52
 
53
- demo.launch()
 
 
 
45
 
46
 
47
  # gradio deployment
48
+ # demo = gradio.Interface(fn=askPDF,
49
+ # inputs=[gradio.File(file_types=['.pdf']), 'text'],
50
+ # outputs="text",
51
+ # )
52
 
53
+ # demo.launch()
54
+
55
+ print("hello world")