itsalissonsilva commited on
Commit
7c7cd29
·
verified ·
1 Parent(s): 4d82fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def query_nvidia_api(input_text):
29
 
30
  # Create the Gradio interface
31
  interface = gr.Interface(fn=query_nvidia_api,
32
- inputs=gr.inputs.Textbox(lines=7, placeholder="Enter your text here..."),
33
- outputs="json")
34
 
35
  # Launch the app
36
  if __name__ == "__main__":
 
29
 
30
  # Create the Gradio interface
31
  interface = gr.Interface(fn=query_nvidia_api,
32
+ inputs=gr.Textbox(lines=7, placeholder="Enter your text here..."),
33
+ outputs=gr.JSON())
34
 
35
  # Launch the app
36
  if __name__ == "__main__":