jozzy commited on
Commit
85939f8
·
1 Parent(s): e109be1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks() as chatHistory:
125
  text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
126
  audio = gr.Interface(fn=audioGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
127
  siri = gr.Interface(fn=siriGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs = "audio")
128
- file = gr.Interface(fn=fileGPT, inputs=["text", "file"], outputs="text", description = 'Enter prompt and your PDF, e.g. let's think step by step, summarize this following text:')
129
  demo = gr.TabbedInterface([text, audio, siri, file, chatHistory], [ "chatGPT", "audioGPT", "siriGPT", "fileGPT", "ChatHistory"])
130
 
131
  if __name__ == "__main__":
 
125
  text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
126
  audio = gr.Interface(fn=audioGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
127
  siri = gr.Interface(fn=siriGPT, inputs=gr.Audio(source="microphone", type="filepath"), outputs = "audio")
128
+ file = gr.Interface(fn=fileGPT, inputs=["text", "file"], outputs="text", description = "Enter prompt and your PDF, e.g. lets think step by step, summarize this following text:")
129
  demo = gr.TabbedInterface([text, audio, siri, file, chatHistory], [ "chatGPT", "audioGPT", "siriGPT", "fileGPT", "ChatHistory"])
130
 
131
  if __name__ == "__main__":