Spaces:
Sleeping
Sleeping
Commit
·
b61abcc
1
Parent(s):
fa701a2
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 4 |
|
| 5 |
client.view_api(return_format="all_endpoints")
|
| 6 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from gradio_client import Client
|
| 3 |
+
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
+
client = Client(src="gradio/calculator")
|
| 7 |
|
| 8 |
client.view_api(return_format="all_endpoints")
|
| 9 |
|