Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
33 |
-
outputs=
|
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__":
|