Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,5 +39,9 @@ def greet(user):
|
|
| 39 |
generations.append(outputs.text)
|
| 40 |
return generations[0]
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
demo = gr.Interface(fn=greet, inputs=gr.Text(), outputs=gr.Text())
|
| 43 |
demo.launch(share=True)
|
|
|
|
| 39 |
generations.append(outputs.text)
|
| 40 |
return generations[0]
|
| 41 |
|
| 42 |
+
|
| 43 |
+
## make predictions via api ##
|
| 44 |
+
# https://www.gradio.app/guides/getting-started-with-the-python-client#connecting-a-general-gradio-app
|
| 45 |
+
|
| 46 |
demo = gr.Interface(fn=greet, inputs=gr.Text(), outputs=gr.Text())
|
| 47 |
demo.launch(share=True)
|